Macro Sheet Metal Unfolder: Difference between revisions

From FreeCAD Documentation
m (Version)
m (date)
Line 1: Line 1:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{Macro|Icon=Text-x-python|Name=Sheet Metal Unfolder|Description=This macro unfolds simple sheet-metal-designs.|Author=ulrich1a|Version=1.0}}
{{Macro|Icon=Text-x-python|Name=Sheet Metal Unfolder|Description=This macro unfolds simple sheet-metal-designs.|Author=ulrich1a|Version=1.0|Date=01/01/2015}}


<!--T:2-->
<!--T:2-->

Revision as of 09:32, 27 September 2017

File:Text-x-python Sheet Metal Unfolder

Description
This macro unfolds simple sheet-metal-designs.

Macro version: 1.0
Last modified: 01/01/2015
Author: ulrich1a
Author
ulrich1a
Download
None
Links
Macro Version
1.0
Date last modified
01/01/2015
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: