Translations:Macro Center Align Objects with Faces or Edges/6/hr

After downloading the file here

GitHub page

https://github.com/easyw/FreeCAD_Macros/tree/master/Align%20Objects

code:

https://github.com/easyw/FreeCAD_Macros/raw/master/Align%20Objects/CenterAlignObjectswFacesEdges.py

you need to copy the file to your macro directory.

How to install macros