Macro Center Align Objects with Faces or Edges

From FreeCAD Documentation
Revision as of 14:56, 30 September 2017 by Mario52 (talk | contribs) (DATE ISO 8601 YYYY-MM-DD)

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
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 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/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

Other languages: