Macro Center Align Objects with Faces or Edges

Description
""Note: this Macro is now included in ""Manipulator WB

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



Aligning STEP models 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/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

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