Search found 582 matches

Go to advanced search

by ian.rees
Thu Apr 27, 2017 2:15 am
Forum: TechDraw
Topic: First test drive ...
Replies: 25
Views: 777

Re: First test drive ...

No problem! I think the missing click thing is fixed now, though thinking about it more I think the initial change I made to check the click position against the rect dimensions probably isn't necessary anymore. Will try to poke around at it a bit more in the next few evenings - I found some old TOD...
by ian.rees
Wed Apr 26, 2017 6:31 am
Forum: TechDraw
Topic: First test drive ...
Replies: 25
Views: 777

Re: First test drive ...

I've made a PR to fix this: https://github.com/FreeCAD/FreeCAD/pull/713 . I'm fairly certain it will still work with Qt4, but haven't personally tested it yet ;). -Ian-
by ian.rees
Wed Apr 26, 2017 2:18 am
Forum: TechDraw
Topic: First test drive ...
Replies: 25
Views: 777

Re: First test drive ...

wandererfan - have a look at https://github.com/ianrrees/FreeCAD_tinkering/tree/20170426-techdraw-text-field-qt5 - it mostly "works" except that the first click after editing template text essentially gets missed. I'm thinking about moving the dialog creation from TemplateTextField::mouseP...
by ian.rees
Tue Apr 25, 2017 7:48 am
Forum: TechDraw
Topic: First test drive ...
Replies: 25
Views: 777

Re: First test drive ...

I had a little time to tinker with this tonight - there are a couple different but related problems. One is that the DlgTemplateField isn't getting deleted after it's accepted, and I think the other is related to the TemplateTextField mouse press event handler not being cleaned up... Will try to loo...
by ian.rees
Mon Apr 24, 2017 8:03 pm
Forum: TechDraw
Topic: First test drive ...
Replies: 25
Views: 777

Re: First test drive ...

wandererfan - sorry about the slow response! The bug described by r-frank in the OP exists on MacOS with Qt5.6: (CAD navigation style) OS: Mac OS X Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.17.10934 (Git) Build type: Debug Branch: master Hash: 4a51171593f0d69151308d9c0babb95e4e...
by ian.rees
Fri Apr 14, 2017 8:20 am
Forum: Python scripting and macros
Topic: FreeCAD does not execute the python script as expected
Replies: 11
Views: 307

Re: FreeCAD does not execute the python script as expected

Short answer is that, IMHO, some of the text handling in this area is currently broken in FreeCAD (the design is not what it should be, vs the code not behaving according to the design). After all it is unrelated. Sorry, I disagree, and would like to get a prototype put together. I think the design...
by ian.rees
Thu Apr 13, 2017 10:54 pm
Forum: Python scripting and macros
Topic: FreeCAD does not execute the python script as expected
Replies: 11
Views: 307

Re: FreeCAD does not execute the python script as expected

that discussion is more or less unrelated to your issue. ??? The other thread is all about the debugging issues in the OP, how is it unrelated? Just because the problem the OP was trying to find turned out to be unrelated to the text stuff, the issue that he posted about is precisely related to Fre...
by ian.rees
Thu Apr 13, 2017 9:47 pm
Forum: Python scripting and macros
Topic: FreeCAD does not execute the python script as expected
Replies: 11
Views: 307

Re: FreeCAD does not execute the python script as expected

Hi foadsf, Thanks for your timely question - have a look at https://forum.freecadweb.org/viewtopic.php?f=10&t=21574 . Short answer is that, IMHO, some of the text handling in this area is currently broken in FreeCAD (the design is not what it should be, vs the code not behaving according to the ...
by ian.rees
Tue Apr 11, 2017 4:13 am
Forum: FEM
Topic: PR 687 discussion: Optionally generate FEM mesh on OK
Replies: 5
Views: 256

Re: PR 687 discussion: Optionally generate FEM mesh on OK

As Kurt and I discussed a bit in gitter - the root issue here is that the Ok/Apply/Cancel buttons don't conform with common conventions. The main reason behind the non conformance, is the case where it is desired to make a mesh object or change mesh settings without creating a very big mesh. Do we t...
by ian.rees
Mon Apr 10, 2017 8:54 pm
Forum: Path/CAM
Topic: Path.Area: Welcome, to the new era!
Replies: 104
Views: 4280

Re: Path.Area: Welcome, to the new era!

A more Pythonic solution to the algorithm only handling vectors that are "on axis" is to accept a vector (perhaps of 3 ints), but throw if it's not in a direction that the algorithm can handle. That way, if someone extends the algorithm later to accept a wider range of directions, the int...

Go to advanced search