Macro Sheet Metal Unfolder/en

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: http://linuxforanengineer.blogspot.com.es/2014/12/freecad-sheet-metal-tool-add-wall.html

Link
The forum discussion Sheet metal: add wall tool

Script
The version below is revision 12 of sheet_ufo.

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

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