Macro Center Align Objects with Faces or Edges

Description
This macro covers the following constraints:

- Concentric constraint among non cylindrical parts;

- Constraint on center Faces and/or Edges.

It works also with the new Body and App::Part containers, as well as with STEP hierarchy.









Aligning tool video tutorial

Use
Faces or Edges constraint among non cylindrical parts: Just open a FC document, launch the Macro and select two or more Faces/Edges to be aligned. Click on Align button and that's it!

Script
The icon for your toolbar

Macro Center Faces of Parts.FCMacro

After downloading the file here

GitHub page

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

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

Link
Forum : Faces or Edges constraint among non cylindrical parts Macro