[solved problem] Script crash freecad 0.20

Need help, or want to share a macro? Post here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
onekk
Veteran
Posts: 6144
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: Script crash freecad 0.20

Post by onekk »

Luixx wrote: Wed Jul 06, 2022 2:55 pm ...
Hello, so now it works as expected?

If the problem is solved you could put [Solved] in the first post title, so it si correctly "closed".

Regards

Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.

Blog: https://okkmkblog.wordpress.com/
User avatar
dprojects
Posts: 721
Joined: Mon Mar 06, 2017 6:02 pm
Location: Poland
Contact:

Re: Script crash freecad 0.20

Post by dprojects »

Finally, get it to work your bolt. However, I did it in a different way. I created folder "la_freecad" in main root of workbench and copied there all the *.py files from la_freecad and la_functions from your github.

I think it is not needed to code like this to make a Cube. You can make with single click at FreeCAD or in single line of python code. I am not sure if the "FeaturePython" coding is the right way. Maybe for extremely strange objects that cannot be done in a different way. But normally it is over-coding use FeaturePython.

Also there is more serious problem with this type of creating objects at FreeCAD. They not match the XYZ plane axis. What makes them not manageable, a little useless.

Image

Thanks
Darek
github.com/dprojects

workbench for woodworking is available at: github.com/dprojects/Woodworking
Post Reply