Hi all,
I just created my first macro for FreeCAD !
It's a small macro to compute the weight of multiple solids and the center of mass of the "assembly".
You have to select one or multiple solids and then you launch the macro.
You'll have a window listing the solids. You can put the density of your material or choose in a huge list of predefined materials (I took the values here)
If you know your densities in another unit system, I used FreeCAD convert system to propose differents units.
You can also display where is the center of mass :
You can save the computed information in a csv file :
A import button allows you to quickly loaded saved densities (even if it's not a .csv file with the macro, as soon as there is a column named "Density" it will be loaded.)
If anyone want to test or have any suggestion to improve it, here is the file :
Files are here : https://github.com/chupins/FreeCAD-macr ... nformation
PS : the design is from here : planosconciri
Icon pack :