Macro Center Align Objects with Faces or Edges
File:Macro Center Align Objects with Faces or Edges Center Faces of Parts |
Description |
---|
This macro Aligns Objects through Faces or Edges constraints Macro version: 0.5.2 Last modified: 2017-09-27 Author: easyw-fc |
Author |
easyw-fc |
Download |
None |
Links |
Macros recipes How to install macros How to customize toolbars |
Macro Version |
0.5.2 |
Date last modified |
2017-09-27 |
FreeCAD Version(s) |
None |
Default shortcut |
None |
See also |
None |
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 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
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