So I was tinkering with Freecad for the past few months and I just recently discovered about something called a "Macro" in FreeCad.
Macros are Python scripts that automate tasks or extend the functionality of the application. They are a great way to interact with and contribute to FreeCAD's API..The interesting part about macros is that since FreeCad is coded in C++ and not python.The way that the python code binds with the C++ code intrigues me..I dug deeper and i learned that for binding the code Freecad uses PyCXX and SWIG.Now I wouldn't go deeper into this but I find it really intriguing and the benefits that macro provide for CAD users.
FreeCAD macro recording is an excellent starting point for bridging the gap between Python scripting and C++ backend development. By analyzing the Python code and tracing it to its C++ roots, we can gain a deep understanding of FreeCAD's architecture and eventually contribute to its development.
Watch my exploration of FreeCAD macro recording...
Here goes my dad's exploration of SWIG...