Search found 1794 matches

by uwestoehr
Wed Oct 28, 2020 1:16 am
Forum: Developers corner
Topic: how to read return values of Python commands
Replies: 3
Views: 234

Re: how to read return values of Python commands

This can be done with: Many thanks. I'll use this for future and as reference. I came across this while working on making it possible to edit Part's primitives via a dialog. I found now a C++ solution to get the helix pitch: App::Property* Property = docObj->getPropertyByName("Pitch"); App::Propert...
by uwestoehr
Wed Oct 28, 2020 12:57 am
Forum: Help on using FreeCAD
Topic: [sketcher] C++ exception on decreasing spline knot multiplicity
Replies: 0
Views: 43

[sketcher] C++ exception on decreasing spline knot multiplicity

Decreasing the knot multiplicity leads to C++ exception from time to time. I found now a case where the issue is reproducible: spline-c++-bug.FCStd I get the error this way: XvQ6GCJ4sb.gif Can anybody confirm this? OS: Windows 10 (10.0) Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0...
by uwestoehr
Sun Oct 25, 2020 10:47 pm
Forum: Pull Requests
Topic: PR #4000 dialog to edit Part's primitives
Replies: 0
Views: 97

PR #4000 dialog to edit Part's primitives

This PR adds the feature to edit Part's primitives via its dialog: https://github.com/FreeCAD/FreeCAD/pull/4000 I had to change the primitives location dialog was not suitable to be used for editing (Gui::Location widget misses the angle information). The aim is that one can open the dialog to edit,...
by uwestoehr
Sun Oct 25, 2020 2:01 pm
Forum: Developers corner
Topic: how to read return values of Python commands
Replies: 3
Views: 234

Re: how to read return values of Python commands

I failed to do this but found now a solution how to read out an object property the C++ way. This way I can use the return value directly.
by uwestoehr
Sun Oct 25, 2020 12:09 pm
Forum: Part Design module development
Topic: Hole dialog discussion
Replies: 18
Views: 637

Re: Hole dialog discussion

We already agreed on diameter and depth. The only open question is of there is another angle than 90° for countersinks in ISO norms or not. With this info, we have all info.
Unfortunately I cannot get the ISO norms directly, only excerpts at some webpages.
by uwestoehr
Sun Oct 25, 2020 4:13 am
Forum: Part Design module development
Topic: Hole dialog discussion
Replies: 18
Views: 637

Re: Hole dialog discussion

Got you. I suppose it is making it clear in the dialogue that angle is fixed and then depth and diameter you set one and the other is auto adjusted. ... How would you define depth for a counter sink? D1 or D2? When the user changes the depth the angle will will be used that is currently set. It is ...
by uwestoehr
Sun Oct 25, 2020 4:07 am
Forum: Developers corner
Topic: how to read return values of Python commands
Replies: 3
Views: 234

how to read return values of Python commands

I want to read out properties of a feature using Python. For example I want to read the pitch of a helix. I can execute the right command: cmd = QString::fromLatin1( "App.ActiveDocument.%1.Pitch\n") .arg(ObjectName); Gui::Command::runCommand(Gui::Command::Doc, cmd); But how do I get the return value...
by uwestoehr
Sat Oct 24, 2020 10:32 pm
Forum: Open discussion
Topic: Developer Wandererfan absence
Replies: 16
Views: 2880

Re: Developer Wandererfan absence

These are sad news. Chris, I wish you all the best and many thanks for all your help. I learned a lot from you! For FC 0.19 I you made TechDraw very usable workbench. Due to my work with Chris, I know the TechDraw workbench and fixed a lot of issue. But due to lack of time and also still of technica...
by uwestoehr
Sat Oct 24, 2020 10:15 pm
Forum: Material
Topic: [fixed] Ticket #3851 - missing material card name
Replies: 12
Views: 1540

Re: Ticket #3851 - missing material card name

This bug has meanwhile been fixed. The material card is now correctly shown:
FreeCAD_V7qttrbJhQ.png
FreeCAD_V7qttrbJhQ.png (22.31 KiB) Viewed 98 times
by uwestoehr
Sat Oct 24, 2020 10:14 pm
Forum: Help on using FreeCAD
Topic: [fixed] Ticket #4001 - Sketcher trimming issue with arcs
Replies: 6
Views: 511

Re: Ticket #4001 - Sketcher trimming issue with arcs

This issue seems to be fixed in OCC 7.4. At least I cannot reproduce the bug anymore.