My understanding of Macro in FreeCAD

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...

HackerRank Problem (Migratory birds)

Crafting a ToDo List App: My Journey with JavaFX



Here we go... 

Please watch the demonstration of my To-Do-List application...


Decorator Pattern

Chain Of Responsibility

Barrier in C++

CallbackMechanism in C++ [Async() method ]



Latch in C++20 is here!!!



The Output Result:

Addon for CAD in Blender is Here!!

CAD aka (Computer Aided Design) is a term used for the creation of a 3d model which is made using a computer.CAD software is mainly used in the mechanical engineering and the film industries.It helps in the creation of working models and can be brought to the real world by 3d printing it.


I found an addon in
Blender which enables you to add CAD like features into Blender.The best part is that it's completely free.


As I already know Blender, it is kinda easy for me to use it.CAD sketcher is an addon which is incomplete or as u can say undeveloped but to all the readers this addon is really good and I would recommend you to try it.


It uses sketches which you draw and are projected on a 2d plane.You can use technical drawings as exercises and practise but let's stop blabbering and get to the point.


It goes well with modifiers and in the future,it will with geometry nodes.It uses constraints like any other CAD software eg distance constraint,vertical constraint,horizontal constraint .Now i wont get into the nitty gritty of the addon but understanding the basics will be beneficial.We can create a rectangle,circle and an arch.We also have tools like the beveling and lines.


Thats all there is for today.Thank you guys for reading this.

See you guys next time.

The technical drawing I used:

The Final Product:



 


Here is another...



Countdownlatch in Java




Here we go... my discussion on CountdownLatch which I recorded almost 3 years back.