Search found 16004 matches

Go to advanced search

by wmayer
Fri Aug 14, 2020 2:25 pm
Forum: Forum in Deutsch
Topic: Sammlung von Informationen zum Umstieg von Autodesk Inventor und CATIA auf FreeCAD
Replies: 53
Views: 1193

Re: Sammlung von Informationen zum Umstieg von Autodesk Inventor und CATIA auf FreeCAD

Code: Select all

pts = App.ActiveDocument.Points.Points
vertexes = [Part.Vertex(i) for i in pts.Points]
Part.show(Part.Compound(vertexes))
by wmayer
Fri Aug 14, 2020 10:08 am
Forum: Developers corner
Topic: Coding style for C++
Replies: 26
Views: 994

Re: Coding style for C++

Probably off-topic, but I really need your opinion on that. It's about Python, not C++. In Draft/Arch we are starting to have lot of code that is snake_case. For the new functions we are writing, can we discard camelCase definitely? Is it ok? What's the direction? I don't have a strong opinion on t...
by wmayer
Thu Aug 13, 2020 6:00 pm
Forum: Developers corner
Topic: Python3-only branch and deprecation policy
Replies: 4
Views: 151

Re: Python3-only branch and deprecation policy

Would 0.19 be the last release with python2? Yes. Should the python3 branch be started? What exactly do you mean with starting the python3 branch? Which python3 should be targeted? As a reference I use the oldest but still supported Ubuntu version. This is Xenial and the used Python version is 3.5.
by wmayer
Thu Aug 13, 2020 3:25 pm
Forum: Help on using FreeCAD
Topic: Ticket #4117 - Crash during extrusion (using OCC7.4 Beta version)
Replies: 10
Views: 425

Re: Ticket #4117 - Crash during extrusion (using OCC7.4 Beta version)

What we need now is a handy utility for the user to repair the broken sketch. A solution can be a another function in the sketch validation dialog to search for degenerated geometries and delete them.
git commit 1c432fd61
by wmayer
Thu Aug 13, 2020 1:49 pm
Forum: Help on using FreeCAD
Topic: Ticket #4117 - Crash during extrusion (using OCC7.4 Beta version)
Replies: 10
Views: 425

Re: Ticket #4117 - Crash during extrusion (using OCC7.4 Beta version)

Thanks. I had a PR #3798 ready for that, that ignores faulty wires instead throwing an exception. I close it. Oh, I didn't realize your PR. Actually I was also trying a more permissive solution and do not abort the whole operation. But the point is that the input shape is invalid and by ignoring th...
by wmayer
Thu Aug 13, 2020 12:28 pm
Forum: Help on using FreeCAD
Topic: Ticket #4117 - Crash during extrusion (using OCC7.4 Beta version)
Replies: 10
Views: 425

Re: Ticket #4117 - Crash during extrusion (using OCC7.4 Beta version)

It's a bug in FaceDriller::getWireDirection. A face is created from a wire but if the wire is degenerated the face will be null. This however is never checked and thus causing a crash using OCC functions.

Fixed with git commit 9c17fe359b3
by wmayer
Wed Aug 12, 2020 10:38 am
Forum: Python scripting and macros
Topic: DLL Load Failed - QtCore
Replies: 7
Views: 218

Re: DLL Load Failed - QtCore

What can I do to resolve this. Have tried conda install qt=5.6 with no success.
You should try with FreeCAD v0.19 then because this uses a newer Qt version and if you are lucky you will find a PySide2 version that uses the same Qt version.
by wmayer
Wed Aug 12, 2020 9:41 am
Forum: Pull Requests
Topic: PR #3794 - pad in any direction
Replies: 21
Views: 779

Re: PR #3794 - pad in any direction

However, I also have question: For the custom vector I used QDoubleSpinBox but one cannot bind expressions to this. I first tried Gui::PrefDoubleSpinBox, but this does not allow expression bindings as well. Then I tried Gui::PrefQuantitySpinBox but since a vector component has no unit, I don't know...
by wmayer
Mon Aug 10, 2020 4:52 pm
Forum: Python scripting and macros
Topic: DLL Load Failed - QtCore
Replies: 7
Views: 218

Re: DLL Load Failed - QtCore

VS does not show any output when I put that line in to FreeCAD's python console. With VS you must load the FreeCAD.exe and press F5 or alternatively run FreeCAD and in VS use Debug > Attach to process. Important is that FreeCAD runs with a debugger. This version is 5.9.7.0 from VS and Process Explo...
by wmayer
Mon Aug 10, 2020 4:12 pm
Forum: Python scripting and macros
Topic: DLL Load Failed - QtCore
Replies: 7
Views: 218

Re: DLL Load Failed - QtCore

The resulting output: I didn't want the output of FreeCAD but rather that of VS when you run FreeCAD from within it. The Qt version is 5.6.2 Is this the version FreeCAD uses? And can you also figure out which Qt version PySide2 5.15 is linked to? If for some reason you cannot figure out this with V...

Go to advanced search