Drawing Workbench/pt

Introduction
A Bancada de trabalho Drawing (Desenho de Folhas) permite por os seus trabalho 3D no papel. Isto é, pôr vistas do modelo numa janela 2D e inserir essa janela numa folha de desenho, por exemplo uma folha com uma moldura, um título e o seu logótipo e finalmente imprimir essa folha. Esta bancada de trabalho está neste momento em construção e é por enquanto uma espécie de amostra do que esta tecnologia pode fazer!



Ferramentas GUI
Estas são ferramentas para criar, configurar e exportar folhas de desenho 2D


 * [[Image:Drawing_New.png|32px]] Open scalable vector graphic: Opens a drawing sheet previously saved as an SVG file


 * [[Image:Drawing_Landscape_A3.png|32px]] New A3 landscape drawing: Creates a new drawing sheet from FreeCAD's default A3 template


 * [[Image:Drawing_View.png|32px]] Insert a view: Inserts a view of the selected object in the active drawing sheet


 * [[Image:Drawing_Annotation.png|32px]] Annotation: Adds an annotation to the current drawing sheet


 * [[Image:Drawing_Clip.png|32px]] Clip: Adds a clip group to the current drawing sheet


 * [[Image:Drawing_Openbrowser.png|32px]] Open Browser: Opens a preview of the current sheet in the browser


 * [[Image:Drawing_Orthoviews.png|32px]] Ortho Views: Automatically creates orthographic views of an object on the current drawing sheet


 * [[Image:Drawing_Symbol.png|32px]] Symbol: Adds the contents of a SVG file as a symbol on the current drawing sheet


 * [[Image:Drawing_DraftView.png|32px]] Draft View: Inserts a special Draft view of the selected object in the current drawing sheet


 * [[Image:Drawing_SpreadsheetView.png|32px]] Spreadsheet View: Inserts a view of a selected spreadsheet in the current drawing sheet


 * [[Image:Drawing_Save.png|32px]] Save sheet: Saves the current sheet as a SVG file


 * Project Shape: Creates a projection of the selected object (Source) in the 3D view.

Note A ferramenta Vista Draft é usada principalmente para colocar os objetos draft (traços) no papel. Tem algumas capacidades extra relativamente ás ferramentas Drawing Standard, e suporta objetos específicos como Draft dimensions.

Workflow
The document contains a 3D shape object (Schenkel) from which we want to produce a drawing. Therefore a "Page" is created. A page it's instantiated from a template, for example, the "A3_Landscape" template. The template is an SVG document which can hold a page frame, a logo, and other elements.

In this page we can insert one or more views. Each view has a position on the page, a scale factor, and additional properties. Every time the page or the view or the referenced object changes, the page is regenerated and the page display updated.

Scripting
At the moment the graphical user interface workflow is very limited, so the scripting API is more interesting.

See the Drawing API example page for a description of the functions used to create drawing pages and views.

The macro CartoucheFC allows you to create a custom information box on an A3 landscape page.

Templates
FreeCAD comes bundled with a set of default templates, but you can find more on the Drawing templates page.

Extending the Drawing Module
Some notes on the programming side of the drawing module will be added to the Drawing Documentation page. This is to help quickly understand how the drawing module works, enabling programmers to rapidly start programming for it.

Tutorials

 * Drawing tutorial