Macro Unroll Ruled Surface/en

Description
The macro allows to unroll ruled surfaces 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/UnrollRuledSurface.
 * Windows : C:\Program Files\FreeCAD0.13

Cf Macro for unrolling ruled surfaces

Options

 * Number of generatrix
 * Scale manual or automatic
 * Page format: a3/a4, cartridge (cf FreeCAD templates)
 * Group drawings in the same page as possible.



Instruction for use

 * 1) Select ruled surfaces
 * 2) Explode them (cf Draft menu)
 * 3) Select the surfaces
 * 4) Execute the macro

Script
Macro_unrollRuledSurface.py

QtGui.QDialogButtonBox.Ok) la.addWidget(box)

QtCore.QObject.connect(box, QtCore.SIGNAL("accepted"), proceed ) QtCore.QObject.connect(box, QtCore.SIGNAL("rejected"), close ) QtCore.QMetaObject.connectSlotsByName(DialogBox) DialogBox.show