Draft Workbench/es

Introducción
El Ambiente de trabajo borrador permite dibujar objetos 2D simples, y ofrecer diversas herramientas para poderlas modificar después. También proporciona herramientas para definir un plano de trabajo, una cuadrícula y un sistema de enganche para controlar con precisión la posición de su geometría.

The created 2D objects can be used for general drafting in a way similar as is done with Inkscape or Autocad. These 2D shapes can also be used as the base components of 3D objects created with other workbenches, for example, the Part and  Arch Workbenches. Conversion of Draft objects to Sketches is also possible, which means that the shapes can also be used with the  PartDesign Workbench for the creation of solid bodies.

FreeCAD is primarily a 3D modelling application, and thus its 2D tools aren't as advanced as in other drawing programs. If your primary goal is the production of complex 2D drawings and DXF files, and you don't need 3D modelling, you may wish to consider a dedicated software program for technical drafting such as LibreCAD, QCad, or others.



Dibujando objetos
Estas son las herramientas para crear objetos.


 * [[Image:Draft_Line.png|32px]] Línea de 2 puntos: Dibuja un segmento de línea entre 2 puntos
 * [[Image:Draft_Wire.png|32px]] Polilínea (Línea de múltiples puntos): Dibuja una polilínea compuesta por múltiples segmentos de línea
 * [[Image:Draft_Circle.png|32px]] Circunferencia: Dibuja una circunferencia a partir de su centro y radio
 * [[Image:Draft_Arc.png|32px]] Arco: Dibuja un segmento de arco a partir de su centro, radio ángulo de inicio y ángulo final
 * [[Image:Draft_Ellipse.png|32px]] Ellipse: Draws an ellipse from two corner points
 * [[Image:Draft_Polygon.png|32px]] Polígono: Dibuja un polígono regular a partir del centro y radio de la circunferencia que lo circunscribe
 * [[Image:Draft_Rectangle.png|32px]] Rectángulo: Dibuja un rectángulo a partir de 2 puntos de su diagonal
 * [[Image:Draft_Text.png|32px]] Texto: Dibuja una anotación de múltiples líneas de texto
 * [[Image:Draft_Dimension.png|32px]] Cota: Dibuja una cota dimensional
 * [[Image:Draft_BSpline.png|32px]] BSpline: Dibuja una B-Spline a partir de una serie de puntos
 * [[Image:Draft_Point.png|32px]] Punto: Inserta un objeto punto
 * [[Image:Draft_ShapeString.png|32px]] ShapeString: The ShapeString tool inserts a compound shape representing a text string at a given point in the current document
 * [[Image:Draft_Facebinder.png|32px]] Facebinder: Creates a new object from selected faces on existing objects
 * [[Image:Draft_BezCurve.png|32px]] Bezier Curve: Draws a Bezier curve from a series of points
 * [[Image:Draft_Label.png|32px]] Label: Places a label with an arrow pointing to a selected element

Objetos de anotación

 * [[Image:Draft_Text.svg|32px]] Text: draws a multi-line text annotation.
 * [[Image:Draft_Dimension.svg|32px]] Dimension: draws a dimension annotation.
 * [[Image:Draft_Label.svg|32px]] Label: places a label with an arrow pointing to a selected element.
 * [[Image:Draft_AnnotationStyleEditor.svg|32px]] Annotation style editor: opens an editor to change the annotation style of these objects.

Modificando objetos
Estas son las herramientas para la edición de los objetos existentes. Trabajan sobre los objetos seleccionados, pero si no hay ningún objeto seleccionado, permiten seleccionar uno.

Many operation tools (move, rotate, array, etc.) also work on solid objects (Part, PartDesign, Arch, etc.).


 * [[Image:Draft_Move.png|32px]] Desplazar: Desplaza objeto(s) desde una ubicación a otra
 * [[Image:Draft_Rotate.png|32px]] Girar: Gira objeto(s) desde un ángulo de inicio a un ángulo final
 * [[Image:Draft_Offset.png|32px]] Equidistancia: Mueve segmentos de un objeto a cierta distancia
 * [[Image:Draft_Trimex.png|32px]] Recortar/Extender: Recorta o extiende un objeto
 * [[Image:Draft_Upgrade.png|32px]] Promocionar: Une objetos en un objeto de nivel superior
 * [[Image:Draft_Downgrade.png|32px]] Degradar: Descompone objetos en objetos de nivel inferior
 * [[Image:Draft_Scale.png|32px]] Escalar: Escala los objetos seleccionados alrededor de un punto base
 * [[Image:Draft_PutOnSheet.png|32px]] Dibujar: Escribe los objetos seleccionados en una Hoja de dibujo
 * [[Image:Draft_Edit.png|32px]] Editar: Edita un objeto seleccionado
 * [[Image:Draft_WireToBSpline.png|32px]] Contorno a BSpline: Convierte un contorno a BSpline y viceversa
 * [[Image:Draft_AddPoint.png|32px]] Añadir punto: Añade un punto a un contorno o una BSpline
 * [[Image:Draft_DelPoint.png|32px]] Borrar punto: Borra un punto de un contorno o BSpline
 * [[Image:Draft_Shape2DView.png|32px]] Shape 2D View: Crea un objeto 2D que es la vista 2D proyectada de otro objeto 3D
 * [[Image:Draft_Draft2Sketch.png|32px]] Boceto a croquis: Convierte un objeto de Boceto a Croquis y viceversa
 * [[Image:Draft_Array.png|32px]] Matriz: Crea una matriz polar o rectangular a partir de los objetos seleccionados
 * [[Image:Draft_PathArray.png|32px]] Path Array: Creates an array of objects by placing the copies along a path
 * [[Image:Draft_Clone.png|32px]] Clonar: Clona los objetos seleccionados
 * [[Image:Draft_Mirror.png|32px]] Mirror: Mirrors the selected objects
 * [[Image:Draft_Stretch.png|32px]] Stretch: Stretches the selected objects


 * [[Image:Draft_Clone.svg|32px]] Clone: clones the selected objects.
 * [[Image:Draft_Array.svg|32px]] Array tools.
 * [[Image:Draft_OrthoArray.svg|32px]] Ortho Array: creates an orthogonal array from the selected object. It can also create App Link copies.
 * Draft_PolarArray.svg Polar Array: creates an array in a polar pattern, that is, sweeping an angle. It can also create App Link copies.
 * Draft_CircularArray.svg Circular Array: creates an array in a circular pattern, that is, starting from a center and moving outwards radially. It can also create App Link copies.
 * [[Image:Draft_PathArray.svg|32px]] Path Array: creates an array of objects by placing the copies along a path.
 * [[Image:Draft_PathLinkArray.svg|32px]] Path LinkArray: like [[Image:Draft_PathArray.svg|32px]] Path Array, but creates App Links instead of regular copies.
 * [[Image:Draft_PointArray.svg|32px]] Point Array: creates an array of objects by placing the copies at certain points.
 * Draft_PointLinkArray.svg Point LinkArray: like [[Image:Draft_PointArray.svg|32px]] Point Array, but creates App Links instead of regular copies.


 * [[Image:Draft_Edit.svg|32px]] Edit: edits a selected object.
 * [[Image:Draft_SubelementHighlight.svg|32px]] Subelement highlight: enters an edit mode that allows editing different objects.


 * [[Image:Draft_Join.svg|32px]] Join: joins lines together into a single wire.
 * [[Image:Draft_Split.svg|32px]] Split: splits a wire into two at a point.
 * [[Image:Draft_Upgrade.svg|32px]] Upgrade: upgrades objects into a higher-level object.
 * [[Image:Draft_Downgrade.svg|32px]] Downgrade: downgrades objects into lower-level objects.


 * [[Image:Draft_WireToBSpline.svg|32px]] Wire to BSpline: converts a wire to a B-Spline and vice-versa.
 * [[Image:Draft_Draft2Sketch.svg|32px]] Draft to Sketch: converts a Draft object to a Sketcher Workbench Sketch and vice-versa.
 * [[Image:Draft_Slope.svg|32px]] Slope: changes the elevation slope of the currently selected Draft Line or Draft Wire.
 * [[Image:Draft_FlipDimension.svg|32px]] Flip Dimension: flips the orientation of the text of a Draft Dimension.


 * [[Image:Draft_Shape2DView.svg|32px]] Shape 2D View: creates a 2D object which is a flattened 2D view of a 3D object.

Obsoleto
This command is considered obsolete because the Drawing Workbench is obsolete. However, the command itself is still available.
 * [[Image:Draft_Drawing.svg|32px]] Drawing: writes selected objects to a Drawing Workbench page.

These commands have been removed from the interface.
 * [[Image:Draft_AddPoint.svg|32px]] Add point: adds a point to a wire or B-Spline.
 * [[Image:Draft_DelPoint.svg|32px]] Delete point: deletes a point from a wire or B-Spline.
 * [[Image:Draft_Array.svg|32px]] Array: creates a polar or rectangular array from selected objects.

Barra de herramientas de la bandeja de borradores
The Draft tray toolbar appears when the workbench is started, and allows selecting the working plane, together with some visual properties like the line color, shape color, text size, line width, and automatic group.


 * [[Image:Draft_SelectPlane.svg|32px]] Working plane: sets a working plane from a standard view or a selected face.
 * [[Image:Draft_ToggleConstructionMode.svg|32px]] Construction mode: toggles the Draft construction mode on or off.
 * [[Image:Draft_ApplyStyle.svg|32px]] Style settings: Set default styles for new objects, and applies the current style and color to selected objects.
 * [[Image:Draft_AutoGroup.svg|32px]] AutoGroup: automatically place new objects in a given Std_Group.svg Std Group, Draft_Layer.svg Draft Layer, or one of the group-like objects of the Arch Workbench, like Arch_BuildingPart.svg Arch BuildingPart.

Barra de herramientas capturar Borrador
The Draft Snap toolbar allows selecting the currently snapping mode. Its button keep depressed when a mode is active.


 * [[Image:Draft_Snap_Lock.svg|32px]] Toggle snap: toggles object snapping globally on or off.
 * [[Image:Draft_Snap_Endpoint.svg|32px]] Endpoint: snaps to the endpoints of line, arc and spline segments.
 * [[Image:Draft_Snap_Midpoint.svg|32px]] Midpoint: snaps to the middle point of line and arc segments.
 * [[Image:Draft_Snap_Center.svg|32px]] Center: snaps to the center point of arcs and circles.
 * [[Image:Draft_Snap_Angle.svg|32px]] Angle: snaps to the special cardinal points of circles and arcs, at 45° and 90°.
 * [[Image:Draft_Snap_Intersection.svg|32px]] Intersection: snaps to the intersection of two line or arc segments. Hover the mouse over the two desired objects to activate their intersection snaps.
 * [[Image:Draft_Snap_Perpendicular.svg|32px]] Perpendicular: on line and arc segments, snaps perpendicularly to the latest point.
 * [[Image:Draft_Snap_Extension.svg|32px]] Extension: snaps on an imaginary line that extends beyond the endpoints of line segments. Hover the mouse over the desired object to activate its extension snap.
 * [[Image:Draft_Snap_Parallel.svg|32px]] Parallel: snaps on an imaginary line parallel to a line segment. Hover the mouse over the desired object to activate its parallel snap.
 * [[Image:Draft_Snap_Special.svg|32px]] Special: snaps on special points defined by the object.
 * [[Image:Draft_Snap_Near.svg|32px]] Near: snaps to the closest point or edge on the nearest object.
 * [[Image:Draft_Snap_Ortho.svg|32px]] Ortho: snaps on imaginary lines that cross the last point, and extend at 0°, 45° and 90°.
 * [[Image:Draft_Snap_Grid.svg|32px]] Grid: snaps to the intersections of the grid lines, if the grid is visible.
 * [[Image:Draft_Snap_WorkingPlane.svg|32px]] Working plane: always places the snapped point on the current working plane, even if you snap to a point outside that working plane.
 * [[Image:Draft_Snap_Dimensions.svg|32px]] Dimensions: shows temporary X and Y dimensions while snapping.
 * [[Image:Draft_ToggleGrid.svg|32px]] Toggle grid: toggles the visibility of the grid on or off.

Herramientas de utilidad

 * [[Image:Draft_Layer.svg|32px]] Layer: creates a Layer in the current document, to which objects can be added to control object visibility and color. It replaces VisGroup.
 * [[Image:Draft_SetWorkingPlaneProxy.svg|32px]] Working Plane Proxy: create a proxy object to store the current Working Plane position.
 * [[Image:Draft_ToggleDisplayMode.svg|32px]] Toggle display mode: switches the display mode of selected objects between "Flat Lines" and "Wireframe".
 * [[Image:Draft_AddToGroup.svg|32px]] Add to group: quickly adds selected objects to an existing Std Group or Draft VisGroup.
 * [[Image:Draft_SelectGroup.svg|32px]] Select group contents: selects the contents of a selected Std Group or Draft VisGroup.
 * [[Image:Draft_AddConstruction.svg|32px]] Add to Construction group: add selected objects to the Construction group.
 * [[Image:Draft_Heal.svg|32px]] Heal: heals problematic Draft objects found in very old files.

Menú de utilidades
Herramientas adicionales disponibles desde el menú, o a través del menú contextual del botón derecho, dependiendo de los objeto seleccionados.


 * [[Image:Draft_SelectPlane.png|32px]] Establecer plano de trabajo: Establece un plano de trabajo a partir de una vista estándar o una cara seleccionada
 * [[Image:Draft_FinishLine.png|32px]] Línea final: Termina el dibujo del contorno o BSpline actual, sin cerrarlo
 * [[Image:Draft_CloseLine.png|32px]] Línea de cierre: Termina el dibujo del contorno o BSpline actual, cerrándolo
 * [[Image:Draft_UndoLine.png|32px]] Deshacer línea: Deshace el último segmento de línea
 * [[Image:Draft_ToggleConstructionMode.png|32px]] Conmutar modo de construcción: Conmuta el modo de construcción del Boceto activado / desactivado
 * [[Image:Draft_ToggleContinueMode.png|32px]] Conmutar modo continuo: Conmuta el modo continuo de Boceto activado / desactivado
 * [[Image:Draft_ApplyStyle.png|32px]] Aplicar estilo: Aplica el estilo actual y el color a los objetos seleccionados
 * [[Image:Draft_ToggleDisplayMode.png|32px]] Conmuta el modo de visualización: Alterna el modo de visualización de los objetos seleccionados entre "líneas planas" y "alámbrico"
 * [[Image:Draft_AddToGroup.png|32px]] Añadir a grupo: Añade rápidamente los objetos seleccionados a un grupo existente
 * [[Image:Draft_SelectGroup.png|32px]] Seleccionar contenido de grupo: Selecciona el contenido de un grupo seleccionado
 * [[Image:Draft_ToggleSnap.png|32px]] Conmutar ajuste: Conmuta el ajuste a objetos activado / desactivado
 * [[Image:Draft_ToggleGrid.png|32px]] Conmutar rejilla: Conmuta la rejilla del Boceto activado / desactivado
 * [[Image:Draft_ShowSnapBar.png|32px]] Mostrar barra de ajuste: Muestra / oculta la barra de herramientas de ajuste del Boceto
 * [[Image:Draft_Heal.png|32px]] Heal: Heals problematic Draft objects found in very old files
 * [[Image:Draft_FlipDimension.png|32px]] Flip Dimension: Flips the orientation of the text of a dimension
 * [[Image:Draft_VisGroup.png|32px]] VisGroup: Creates a VisGroup in the current document
 * [[Image:Draft_Slope.png|32px]] Slope: Changes the slope of selected Lines or Wires
 * [[Image:Draft_AutoGroup.png|32px]] AutoGroup: Automatically place new objects in a given group
 * [[Image:Draft_SetWorkingPlaneProxy.png|32px]] Set Working Plane Proxy: Add a proxy object in the document to store a Working Plane position
 * [[Image:Draft_ToggleConstructionMode.png|32px]] Add to Construction group: Add selected objects to the Construction group

Obsoleto
These tools were removed from the interface in v0.19 because they no longer had any purpose.


 * [[Image:Draft_VisGroup.svg|32px]] VisGroup: creates a VisGroup in the current document. This was replaced by [[Image:Draft_Layer.svg|32px]] Layer.
 * [[Image:Draft_FinishLine.svg|32px]] Finish line: ends the drawing of the current Draft Wire or Draft BSpline, without closing it.
 * [[Image:Draft_CloseLine.svg|32px]] Close line: ends the drawing of the current Draft Wire or Draft BSpline, and closes it.
 * [[Image:Draft_UndoLine.svg|32px]] Undo line: undoes the last segment of a Draft Wire.

Preferencias

 * [[Image:Std_DlgParameter.png|32px]] Preferencias ...: Preferencias desechables en Draft Tools.

Formatos de archivo
El módulo de Boceto proporciona a FreeCAD importadores y exportadores para los siguientes formatos de archivo:


 * Autodesk .DXF: Importa y exporta archivos Drawing Exchange Format creados con otras aplicaciones de CAD 2D
 * SVG (como geometría): Importa y exporta archivos Scalable Vector Graphics creados con aplicaciones de dibujo vectoriales
 * Open Cad format .OCA: Importa y exporta archivos OCA/GCAD, un potencialmente nuevo formato de archivo abierto para CAD
 * Airfoil Data Format .DAT: Importa archivos DAT describiendo Airfoil perfiles
 * Autodesk .DWG: Importar y exportar archivos DWG por medio del importador DXF, cuando la utilidad ODA Converter está instalada.
 * FreeCAD and DWG Import: importa y exporta archivos DWG
 * FreeCAD and DXF Import: importa y exporta archivos DXf

Install importers

 * FreeCAD and DWG Import: Imports and exports DWG files
 * FreeCAD and DXF Import: Imports and exports DXF files

Características adicionales

 * Ajuste: Permite colocar los nuevos puntos en lugares especiales de los objetos existentes
 * Restricciones: Permite situar los puntos nuevos horizontal o verticalmente respecto a puntos previos
 * Trabajando con coordenadas manualmente: Permite introducir coordenadas manualmente, en lugar de indicarlas en la pantalla
 * Working plane: Allows you to define a plane in the 3D space, where next operations will take place

Pruebas unitarias
Test Workbench.

To run the unit tests of the workbench execute the following from the operating system terminal.

Guión
Las herramientas de Bosquejo pueden utilizarse en macros y desde la Python consola utilizando la Bosquejo API.

El ambiente de trabajo incluye un módulo para crear muestras de todos los objetos en un nuevo documento.

Utilícelo para comprobar que todos los objetos se producen correctamente.

Inspecting the code of this module is useful to understand how to use the programming interface.

Where is the toplevel directory where the software was installed; for example, in Linux it may be.



Tutoriales

 * Borrador del tutorial
 * Borrador del tutorial Anticuado
 * Tutorial de la forma de las cuerdas del borrador