Search found 578 matches

Go to advanced search

by ian.rees
Mon Apr 24, 2017 8:03 pm
Forum: TechDraw
Topic: First test drive ...
Replies: 11
Views: 394

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: 260

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: 260

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: 260

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: 221

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: 4021

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...
by ian.rees
Mon Apr 10, 2017 7:19 pm
Forum: Path/CAM
Topic: Path.Area: Welcome, to the new era!
Replies: 104
Views: 4021

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

Sorry, I don't mean to nit pick. I'm just not understanding a situation where a vector wouldn't specify a unique direction, but a map from magic numbers to directions would (and I don't like C style enums creating meaning :)). A more Pythonic solution to the algorithm only handling vectors that are ...
by ian.rees
Mon Apr 10, 2017 6:42 am
Forum: Path/CAM
Topic: Path.Area: Welcome, to the new era!
Replies: 104
Views: 4021

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

parameter 'direction' in Path.fromShapes to control the open path direction. 0=None, 1=XPositive, 2=XNegative, 3=YPositive, 4=YNegative, 5=ZPositive, 6=ZNegative. FreeCAD has 3D vector type, PropertyVector, wouldn't it be better to use for this vs a magic enumeration? There is also an enumeration p...
by ian.rees
Sun Apr 09, 2017 8:57 am
Forum: Developers corner
Topic: Console logging output
Replies: 7
Views: 199

Re: Console logging output

Where does fprintf statements go to when FreeCAD is opened without a terminal (e.g. by double-clicking the desktop icon or the executable directly)? I think the right answer is "nowhere", at least on posix-ish systems. Essentially, I think launching by double clicking is similar to somepr...
by ian.rees
Sat Apr 08, 2017 9:31 pm
Forum: Developers corner
Topic: Console logging output
Replies: 7
Views: 199

Re: Console logging output

Since with isatty it can be determined when a terminal is not available we can also completely omit the ConsoleObserverStd. I'm probably not understanding what you mean, this is the intent: Without isatty(): bin/FreeCAD I'm stderr output (in colour) bin/FreeCAD 2> stderr.txt (stderr.txt contains &q...

Go to advanced search