Macro Sheet Metal Unfolder

From FreeCAD Documentation
Revision as of 11:04, 25 September 2016 by Mario52 (talk | contribs) (Version)

File:Text-x-python Sheet Metal Unfolder

Description
This macro unfolds simple sheet-metal-designs.

Macro version: 1.0
Author: ulrich1a
Author
ulrich1a
Download
None
Links
Macro Version
1.0
Date last modified
None
FreeCAD Version(s)
None
Default shortcut
None
See also
None

The macro can unfold simple sheet-metal-parts. The parts must have everywhere the same material thickness as typical for sheet-metal-parts. See example:

Usage

Select a flat face from your part in the 3D-view. Start the macro.

Remarks

The macro creates a lot of text in the report-view. This is still a remains of the debugging process of this macro. The edges of the sheet-metal-part may be round or slanting. But if you "walk" from the upper side to the lower side of the sheet-metal-part you should not cross more than one face. In best case the macro generates a new flat solid from your part. If the macro has problems, you may get only a flat shell or a bunch of flattened faces or only an error message.

The macro can be thought of as a companion to the AddWall tool from JMG published here: FreeCAD: Sheet metal tool "Add Wall"

Link

The forum discussion Sheet metal: add wall tool

Script

The script can be viewed and downloaded from the FreeCAD-macros repository: SheetMetalUnfolder.FCMacro

(Right-click on the "Raw" button and select "Save target as..." to download)

Direct link (right-click and select "Save target as...")

Other languages: