TechDrawGui API/ru

These functions are part of the TechDraw Workbench and can be used in macros and from the Python console once the module has been imported.

See the TechDraw API for more functions.

Пример:

Options:
 * width - float - width of generated svg in mm
 * height - float - height of generated svg in mm
 * paintBackground - bool - paint/do not paint background
 * backgroundColor - tuple - (r,g,b,a)
 * lineWidth - float - weight of lines
 * border - float - empty space around image
 * mode - int - rendering mode (AS_IS, WIREFRAME, POINTS, WIREFRAME_OVERLAY, HIDDEN_LINE, BOUNDING_BOX)