Macro Unfold Box

Description
The macro allows to unfold the surfaces of a box of any shape and to draw them on a page.



Installation
Copy the code file of the macro in the directory : Add templates : A3_Landscape_Empty.svg A3_Landscape.svg  A4_Landscape_Empty.svg  A4_Landscape.svg
 * Linux & Mac  : $home/.Freecad/Mod/unfoldBox.
 * Windows : C:\Program Files\FreeCAD0.13

Cf Macro for unfolding box surfaces

Options

 * 1) Scale manual or automatic
 * 2) Page format: a3/a4, cartridge (cf FreeCAD templates)
 * 3) Group drawings in the same page as possible.
 * 4) Sew or not the edges of the pieces.

Instruction for use

 * 1) Select a box made with Part::Loft tool for example.
 * 2) Explode it (cf Draft menu) into plan pieces
 * 3) Select the surfaces
 * 4) Execute the macro

Script
ToolBar icon

Macro_unfoldBox.FCMacro