Oh, please do. When FreeCAD was started, Python wasn't as popular as it is now. In the last 17 years it has significantly expanded. I presume you also don't write code the same way you did in the beginning. Current developers are still learning to do things; in fact, learning is never a finished task. Refactoring isn't a bad thing per se, and any help is welcomed.
FreeCAD python type definitions, code documentation
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: FreeCAD python type definitions, code documentation
Last edited by vocx on Tue Sep 10, 2019 5:49 am, edited 1 time in total.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
Re: FreeCAD python type definitions, code documentation
FreeCAD reminds me a lot of Blender. Blender was also started 20 years ago, when the paradigm was "Write Applications in C/C++, extend them with Python". Now it's more like "Write Applications in Python, extend/accelerate them with C/C++/Rust and GPU".
Re: FreeCAD python type definitions, code documentation
An exemple of stubs generated by community for Revit API as auto completion don't work natively : https://github.com/gtalarico/ironpython-stubs
I would love to have something like this in FreeCAD. As project above works on any (.NET?) .dll and is based on another project adapting it for FreeCAD .so/.dll might be not a too big effort.
I would love to have something like this in FreeCAD. As project above works on any (.NET?) .dll and is based on another project adapting it for FreeCAD .so/.dll might be not a too big effort.
I blog about HVAC / BIM / Energy : pythoncvc.net. If you like you can follow the RSS feed.