Draft Workbench/pt-br

Introdução
A  bancada de trabalho Draft permite desenhar objetos 2D simples, e oferece várias ferramentas para modificá-los posteriormente. Ele também fornece ferramentas para definir um plano de trabalho, uma grade e um sistema de disparo para controlar com precisão a posição de sua geometria.

Os objetos 2D criados podem ser usados para esboço geral de uma forma semelhante à do Inkscape ou do Autocad. Estas formas 2D também podem ser usadas como componentes base de objetos 3D criados com outras bancadas de trabalho, por exemplo, a bancada de trabalho Part e Arch. A conversão de objetos de Draft para Sketches também é possível, o que significa que as formas também podem ser usadas com a  bancada de trabalho PartDesign para a criação de corpos sólidos.

The Draft Workbench also provides tools to define a working plane, a grid, and a snapping system to precisely control the position of geometry.

O FreeCAD é principalmente uma aplicação de modelagem 3D, e assim suas ferramentas 2D não são tão avançadas como em outros programas de desenho. Se seu objetivo principal é a produção de desenhos 2D complexos e arquivos DXF, e você não precisa de modelagem 3D, talvez você queira considerar um programa de software dedicado ao desenho técnico, como o LibreCAD, QCad, ou outros.



Drafting

 * [[Image:Draft_Line.svg|32px]] Line: creates a straight line.


 * [[Image:Draft_Wire.svg|32px]] Polyline: creates a polyline, a sequence of several connected line segments.


 * [[Image:Draft_Fillet.svg|32px]] Fillet: creates a fillet, a rounded corner, or a chamfer, a straight edge, between two Draft Lines.


 * [[Image:Draft_Arc.svg|32px]] Arc tools


 * [[Image:Draft_Arc.svg|32px]] Arc: creates a circular arc from a center, a radius, a start angle and an aperture angle.


 * [[Image:Draft_Arc_3Points.svg|32px]] Arc by 3 points: creates a circular arc from three points that define its circumference.


 * [[Image:Draft_Circle.svg|32px]] Circle: creates a circle from a center and a radius.


 * [[Image:Draft_Ellipse.svg|32px]] Ellipse: creates an ellipse from two points defining a rectangle in which the ellipse will fit.


 * [[Image:Draft_Rectangle.svg|32px]] Rectangle: creates a rectangle from two points.


 * [[Image:Draft_Polygon.svg|32px]] Polygon: creates a regular polygon from a center and a radius.


 * [[Image:Draft_BSpline.svg|32px]] B-spline: creates a B-spline curve from several points.


 * [[Image:Draft_CubicBezCurve.svg|32px]] Bézier tools


 * [[Image:Draft_CubicBezCurve.svg|32px]] Cubic Bézier curve: creates a Bézier curve of the third degree.


 * [[Image:Draft_BezCurve.svg|32px]] Bézier curve: creates a Bézier curve from several points.


 * [[Image:Draft_Point.svg|32px]] Point: creates a simple point.


 * [[Image:Draft_Facebinder.svg|32px]] Facebinder: creates a surface object from selected faces.


 * [[Image:Draft_ShapeString.svg|32px]] ShapeString: creates a compound shape that represents a text string.


 * [[Image:Draft_Hatch.svg|32px]] Hatch: creates hatches on the planar faces of a selected object.

Annotation

 * [[Image:Draft_Text.svg|32px]] Text: creates a multi-line text at a given point.


 * [[Image:Draft_Dimension.svg|32px]] Dimension: creates a linear dimension, a radial dimension or an angular dimension.


 * [[Image:Draft_Label.svg|32px]] Label: creates a multi-line text with a 2-segment leader line and an arrow.


 * [[Image:Draft_AnnotationStyleEditor.svg|32px]] Annotation styles...: allows you to define styles that affect the visual properties of annotation-like objects.

Modification

 * [[Image:Draft_Move.svg|32px]] Move: moves or copies selected objects from one point to another.


 * [[Image:Draft_Rotate.svg|32px]] Rotate: rotates or copies selected objects around a center point by a given angle.


 * [[Image:Draft_Scale.svg|32px]] Scale: scales or copies selected objects around a base point.


 * [[Image:Draft_Mirror.svg|32px]] Mirror: creates mirrored copies from selected objects.


 * [[Image:Draft_Offset.svg|32px]] Offset: offsets each segment of a selected object over a given distance, or creates an offset copy of the selected object.


 * [[Image:Draft_Trimex.svg|32px]] Trimex: trims or extends a selected object.


 * [[Image:Draft_Stretch.svg|32px]] Stretch: stretches objects by moving selected points.


 * [[Image:Draft_Clone.svg|32px]] Clone: creates linked copies, clones, of selected objects.


 * [[Image:Draft_OrthoArray.svg|32px]] Array tools


 * [[Image:Draft_OrthoArray.svg|32px]] Array: creates an orthogonal array from a selected object. It can optionally create a Link array.


 * Draft_PolarArray.svg Polar array: creates an array from a selected object by placing copies along a circumference. It can optionally create a Link array.


 * Draft_CircularArray.svg Circular array: creates an array from a selected object by placing copies along concentric circumferences. It can optionally create a Link array.


 * [[Image:Draft_PathArray.svg|32px]] Path array: creates an array from a selected object by placing copies along a path.


 * [[Image:Draft_PathLinkArray.svg|32px]] Path Link array: idem, but create a Link array instead of a regular array.


 * [[Image:Draft_PointArray.svg|32px]] Point Array: creates an array from a selected object by placing copies at the points from a point compound.


 * Draft_PointLinkArray.svg Point Link array: idem, but create a Link array instead of a regular array.


 * [[Image:Draft_Edit.svg|32px]] Edit: puts selected objects in Draft Edit mode. In this mode the properties of objects can be edited graphically.


 * [[Image:Draft_SubelementHighlight.svg|32px]] Subelement highlight: temporarily highlights selected objects, or the base objects of selected objects.


 * [[Image:Draft_Join.svg|32px]] Join: joins Draft Lines and Draft Wires into a single wire.


 * [[Image:Draft_Split.svg|32px]] Split: splits a Draft Line or Draft Wire at a specified point or edge.


 * [[Image:Draft_Upgrade.svg|32px]] Upgrade: upgrades selected objects.


 * [[Image:Draft_Downgrade.svg|32px]] Downgrade: downgrades selected objects.


 * [[Image:Draft_WireToBSpline.svg|32px]] Wire to B-spline: converts Draft Wires to Draft BSplines and vice versa.


 * [[Image:Draft_Draft2Sketch.svg|32px]] Draft to Sketch: converts Draft objects to Sketcher Sketches and vice versa.


 * [[Image:Draft_Slope.svg|32px]] Set slope: slopes selected Draft Lines or Draft Wires by increasing, or decreasing, the Z coordinate of all points after the first one.


 * [[Image:Draft_FlipDimension.svg|32px]] Flip dimension: rotates the dimension text of selected Draft Dimensions 180° around the dimension line.


 * [[Image:Draft_Shape2DView.svg|32px]] Shape 2D view: creates 2D projections from selected objects.

Barra de ferramentas da bandeja de rascunho
A barra de ferramentas Bandeja de rascunho aparece quando a bancada de trabalho é iniciada, e permite selecionar o plano de trabalho, com algumas propriedades visuais como a cor da linha, cor da forma, largura da linha, tamanho do texto e grupo automático.




 * [[Image:Draft_SelectPlane.svg|32px]] Plano de trabalho: define um plano de trabalho a partir de uma vista padrão ou de uma face selecionada.
 * [[Image:Draft_SetStyle.svg|32px]] Estilo de conjunto: define o estilo padrão para novos objetos, e opcionalmente aplica o estilo a objetos e grupos selecionados.
 * [[Image:Draft_ToggleConstructionMode.svg|32px]]Modo de construção: ativa ou desativa o modo de construção de rascunho.
 * [[Image:Draft_AutoGroup.svg|32px]] Grupo automático: colocar automaticamente novos objetos em um determinado Std_Group.svg padrão, Draft_Layer.svga, ou um dos objetos de grupo do Bancada de trabalho Arch, como Arch_BuildingPart.svg. Parte de um edifício.


 * [[Image:Draft_tray_button_style.png]] Set style: sets the default style for new objects. Also available in the menu:.


 * [[Image:Draft_tray_button_construction.png]] Toggle construction mode: switches Draft construction mode on or off. Also available in the menu:.


 * [[Image:Draft_tray_button_layer.png]] AutoGroup: changes the active Draft Layer or, optionally, the active Std Group or group-like Arch object.

Draft annotation scale widget
Com o Widget de escala de anotação a escala de anotação Draft pode ser especificada. O widget está localizado na Barra de status.



Draft snap widget
O Widget de ancoragem pode ser usado como uma alternativa para a Barra de ferramentas Rascunho de pressão. O widget está localizado na Barra de status.



Barra de ferramentas Rascunho de pressão
A barra de ferramentas Captura permite selecionar o modo de precisão atual. Seu botão se mantém pressionado quando um modo está ativo.


 * [[Image:Draft_Snap_Lock.svg|32px]] Snap Lock: enables or disables snapping globally.


 * [[Image:Draft_Snap_Endpoint.svg|32px]] Snap Endpoint: snaps to the endpoints of edges.


 * [[Image:Draft_Snap_Midpoint.svg|32px]] Snap Midpoint: snaps to the midpoint of edges.


 * [[Image:Draft_Snap_Center.svg|32px]] Snap Center: snaps to the center point of faces and circular edges, and to the point of Draft WorkingPlaneProxies and Arch BuildingParts.


 * [[Image:Draft_Snap_Angle.svg|32px]] Snap Angle: snaps to the special cardinal points on circular edges, at multiples of 30° and 45°.


 * [[Image:Draft_Snap_Intersection.svg|32px]] Snap Intersection: snaps to the intersection of two edges.


 * [[Image:Draft_Snap_Perpendicular.svg|32px]] Snap Perpendicular: snaps to the perpendicular point on edges.


 * [[Image:Draft_Snap_Extension.svg|32px]] Snap Extension: snaps to an imaginary line that extends beyond the endpoints of straight edges.


 * [[Image:Draft_Snap_Parallel.svg|32px]] Snap Parallel: snaps to an imaginary line parallel to straight edges.


 * [[Image:Draft_Snap_Special.svg|32px]] Snap Special: snaps to special points defined by the object.


 * [[Image:Draft_Snap_Near.svg|32px]] Snap Near: snaps to the nearest point on faces or edges.


 * [[Image:Draft_Snap_Ortho.svg|32px]] Snap Ortho: snaps to imaginary lines that cross the previous point at 0°, 45°, 90° and 135°.


 * [[Image:Draft_Snap_Grid.svg|32px]] Snap Grid: snaps to the intersections of grid lines.


 * [[Image:Draft_Snap_WorkingPlane.svg|32px]] Snap WorkingPlane: projects the snap point onto the current working plane.


 * [[Image:Draft_Snap_Dimensions.svg|32px]] Snap Dimensions: shows temporary X and Y dimensions.


 * [[Image:Draft_ToggleGrid.svg|32px]] Toggle Grid: switches the grid on or off.

Draft utility tools toolbar

 * [[Image:Draft_Layer.svg|32px]] Layer: creates a Draft Layer.


 * [[Image:Draft_AddNamedGroup.svg|32px]] Add a new named group: creates a named Std Group and moves selected objects to that group.


 * [[Image:Draft_AddToGroup.svg|32px]] Move to group...: moves objects to a Std Group. It can also ungroup objects.


 * [[Image:Draft_SelectGroup.svg|32px]] Select group: selects the contents of Std Groups or group-like Arch objects.


 * [[Image:Draft_AddConstruction.svg|32px]] Add to Construction group: moves objects to the Draft construction group.


 * [[Image:Draft_ToggleDisplayMode.svg|32px]] Toggle normal/wireframe display: switches the property of selected objects between  and.


 * [[Image:Draft_WorkingPlaneProxy.svg|32px]] Create working plane proxy: creates a working plane proxy to save the current Draft working plane.

Ferramentas adicionais
The menu contains several tools. Most of them can also be accessed from toolbars or the Draft Tray and have already been mentioned above. For the following tools this is not the case:


 * [[Image:Draft_ApplyStyle.svg|32px]] Apply current style: applies the current style settings to selected objects.


 * [[Image:Draft_Heal.svg|32px]] Heal: heals problematic Draft objects found in very old files.


 * [[Image:Draft_ToggleContinueMode.svg|32px]] Toggle continue mode: switches continue mode on or off.


 * [[Image:Draft_ShowSnapBar.svg|32px]] Show snap toolbar: shows the Draft Snap toolbar.

Características adicionais

 * Restrições: limitar o ponteiro a movimentos horizontais ou verticais em relação a um ponto anterior.
 * Captura: colocar novos pontos em lugares especiais sobre objetos existentes ou sobre a grade.
 * Modo de construção: Permite criar geometrias separadas das demais, simplesmente ligando e desligando-as.
 * Plano de trabalho: permite selecionar uma superfície sobre a qual você pode construir suas formas.

Tree view context menu
The following additional options are available in the Tree view context menu:

Default options
If there is an active document the context menu contains one additional sub-menu:
 * : a subset of the tools available in the main Draft Utilities menu.

Wire options
For a Draft Wire, Draft BSpline, Draft CubicBezCurve and Draft BezCurve this additional option is available:


 * [[Image:Draft_Edit.svg|32px]] Flatten this wire: flattens the wire based on its internal geometry. This option currently does not work properly.

Layer container options
For a Draft LayerContainer these additional options are available:


 * [[Image:Draft_Layer.svg|32px]] Merge layer duplicates: merges all layers with the same base label. This does not work in FreeCAD version 0.19.


 * [[Image:Draft_NewLayer.svg|32px]] Add new layer: adds a new layer to the current document.

Layer options
For a Draft Layer these additional options are available:


 * [[Image:button_right.svg|32px]] Activate this layer: activates the selected layer.


 * [[Image:Draft_SelectGroup.svg|32px]] Select layer contents: selects the objects inside the selected layer.

Working plane proxy options
For a Draft WorkingPlaneProxy these additional options are available:


 * [[Image:Draft_SelectPlane.svg|32px]] Write camera position: updates the property of the working plane proxy with the current 3D view camera settings.


 * [[Image:Draft_SelectPlane.svg|32px]] Write objects state: updates the property of the working plane proxy with the current visibility state of objects in the document.

3D view context menu
The following additional options are available in the 3D view context menu:

Default options
If there is an active document the context menu contains one additional sub-menu:
 * : a subset of the tools available in the main Draft Utilities menu.

Ferramentas obsoletas
Estes comandos são obsoletos, mas ainda estão disponíveis.


 * [[Image:Draft_Array.svg|32px]] Array: creates an orthogonal array from a selected object. The created array can be turned into a polar array or a circular array by changing its property.


 * [[Image:Draft_Drawing.svg|32px]] Drawing: inserts views of selected objects into a drawing page.

Preferências

 * [[Image:Preferences-draft.svg|32px]] Preferências: preferências gerais para o plano de trabalho e para as ferramentas de desenho.
 * [[Image:Preferences-import-export.svg|32px]] Preferências de exportação de importação: preferências disponíveis para importação e exportação de e para diferentes formatos de arquivo.


 * [[Image:Preferences-import-export.svg|32px]] Import Export Preferences: preferences available for importing from and exporting to different file formats.

Formatos de arquivo
The Draft Workbench provides FreeCAD with importers and exporters for several file formats. These are used by the Std Import and Std Export commands.


 * Autodesk .DXF: importação e exportação Drawing Exchange Format arquivos criados com aplicações CAD 2D. Veja também FreeCAD e DXF Import.
 * Autodesk .DWG: importa e exporta arquivos DWG através do importador DXF, quando o utilitário ODA Converter é instalado. Veja também FreeCAD e DWG Import.
 * SVG: importação e exportação Scalable Vector Graphics arquivos criados com aplicações de desenho vetorial.
 * Open Cad format .OCA: importa e exporta arquivos OCA/GCAD, um formato de arquivo CAD potencialmente novo abrir arquivo CAD.
 * Airfoil Data Format .DAT: importa arquivos DAT descrevendo Airfoil profiles.

Testes unitários
Bancada de trabalho Testing framework.

Para executar os testes unitários da bancada de trabalho, executar o seguinte a partir do terminal do sistema operacional.

Scripting
As ferramentas Draft podem ser usadas em macros e do console Python usando o Draft API.

A bancada de trabalho inclui um módulo para criar amostras de todos os objetos em um novo documento.

Use isto para testar se todos os objetos são produzidos corretamente.

A inspeção do código deste módulo é útil para entender como utilizar a interface de programação.

Tutorials

 * Draft tutorial
 * Draft ShapeString tutorial