Ambiente de trabajo Borrador

From FreeCAD Documentation
Jump to navigation Jump to search
This page is a translated version of the page Draft Workbench and the translation is 18% complete.
Outdated translations are marked like this.
El icono del Ambiente de trabajo Borrador

Introducción

El Workbench Draft.svg Ambiente de trabajo Borrador se centra principalmente en la creación y modificación de objetos 2D en FreeCAD. Pero no está restringido al plano XY del sistema global de coordenadas. Sus objetos pueden tener cualquier orientación y posición en el espacio 3D, y algunos objetos de Borrador pueden ser planos o no planos.

Los objetos Borrador se pueden utilizarse para elaboración general, similar a lo que se puede hacer con Inkscape o AutoCAD. Pero también pueden ser la base para la creación de objetos 3D en otros bancos de trabajo. Un Borrador Hilo puede definir la trayectoria de un Arquitectura Muro, un Borrador Polígono puede ser extruido con Pieza Extrudir, etc. Muchas de las Borrador herramientas de modificación pueden aplicarse a objetos 2D y 3D creados con otros ambientes de trabajo también. Puedes, por ejemplo, mover un Croquis o crear un Borrador OrthoArreglo a partir de un objeto Pieza.

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

Si tu objetivo principal es la producción de dibujos 2D complejos y archivos DXF, y no necesitas el modelado 3D, FreeCAD puede no ser la elección correcta para ti. Es posible que desee considerar un programa de software dedicado para el dibujo técnico en su lugar, como LibreCAD o QCad.

Draft Workbench Example.png

The image shows the grid aligned with the XY plane.
On the left, in white, several planar objects.
On the right a non-planar Draft Wire used as the Path Object of a Draft PathArray.

Drafting

  • Draft Line.svg Line: creates a straight line.
  • Draft Wire.svg Polyline: creates a polyline (also called wire), a sequence of several connected line segments.
  • Draft Fillet.svg Fillet: creates a fillet, a rounded corner, or a chamfer, a straight edge, between two Draft Lines.
  • Draft Arc.svgToolbar flyout arrow blue background.svg Arc tools:
  • Draft Arc.svg Arc: creates a circular arc from a center, a radius, a start angle and an aperture angle.
  • Draft Arc 3Points.svg Arc by 3 points: creates a circular arc from three points that define its circumference.
  • Draft Circle.svg Circle: creates a circle from a center and a radius.
  • Draft Ellipse.svg Ellipse: creates an ellipse from two points defining a rectangle in which the ellipse will fit.
  • Draft Rectangle.svg Rectangle: creates a rectangle from two points.
  • Draft Polygon.svg Polygon: creates a regular polygon from a center and a radius.
  • Draft BSpline.svg B-spline: creates a B-spline curve from several points.
  • Draft CubicBezCurve.svgToolbar flyout arrow blue background.svg Bézier tools:
  • Draft Point.svg Point: creates a simple point.
  • Draft Facebinder.svg Facebinder: creates a surface object from selected faces.
  • Draft ShapeString.svg ShapeString: creates a compound shape that represents a text string.

Annotation

  • Draft Text.svg Text: creates a multi-line text at a given point.
  • Draft Dimension.svg Dimension: creates a linear dimension, a radial dimension or an angular dimension.
  • Draft Label.svg Label: creates a multi-line text with a 2-segment leader line and an arrow.
  • Draft AnnotationStyleEditor.svg Annotation styles...: allows you to define styles that affect the visual properties of annotation-like objects.

Modificación

  • Draft Move.svg Move: moves or copies selected objects from one point to another.
  • Draft Rotate.svg Rotate: rotates or copies selected objects around a center point by a given angle.
  • Draft Scale.svg Scale: scales or copies selected objects around a base point.
  • Draft Mirror.svg Mirror: creates mirrored copies from selected objects.
  • Draft Offset.svg Offset: offsets each segment of a selected object over a given distance, or creates an offset copy of the selected object.
  • Draft Trimex.svg Trimex: trims or extends a selected object.
  • Draft Stretch.svg Stretch: stretches objects by moving selected points.
  • Draft Clone.svg Clone: creates linked copies, clones, of selected objects.
  • Draft OrthoArray.svgToolbar flyout arrow blue background.svg Array tools:
  • Draft OrthoArray.svg 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.
  • Draft PathArray.svg Path array: creates an array from a selected object by placing copies along a path.
  • Draft PointArray.svg Point Array: creates an array from a selected object by placing copies at the points from a point compound.
  • Draft Edit.svg Edit: puts selected objects in Draft Edit mode. In this mode the properties of objects can be edited graphically.
  • Draft SubelementHighlight.svg Subelement highlight: temporarily highlights selected objects, or the base objects of selected objects.
  • Draft Upgrade.svg Upgrade: upgrades selected objects.

Borrador Bandeja

La Borrador Bandeja Barra herramienta aparece cuando se inicia el ambiente de trabajo, y permite seleccionar el plano de trabajo, junto con algunas propiedades visuales como el color de la línea, el color de la forma, el ancho de la línea, el tamaño del texto y el grupo automático.

Draft tray default.png

  • Draft tray button style.png Set style: sets the default style for new objects. Also available in the menu: Draft → Utilities → Draft SetStyle.svg Set style.
  • Draft tray button construction.png Toggle construction mode: switches Draft construction mode on or off. Also available in the menu: Draft → Utilities → Draft ToggleConstructionMode.svg Toggle construction mode.

Borrador Widget escala de anotacion

With the Draft annotation scale widget the Draft annotation scale can be specified.

Draft annotation scale widget button.png

Borrador Widget Atrapar

The Draft snap widget can be used as an alternative for the Draft snap toolbar.

Draft snap widget button.png

Borrador Barra de herramientas Atrapar

La barra de herramientas Borrador Atrapar permite seleccionar el modo de ajuste actual. Su botón se mantiene pulsado cuando un modo está activo.

  • Draft Snap Lock.svg Snap Lock: enables or disables snapping globally.
  • Draft Snap Angle.svg Snap Angle: snaps to the special cardinal points on circular edges, at multiples of 30° and 45°.
  • Draft Snap Extension.svg Snap Extension: snaps to an imaginary line that extends beyond the endpoints of straight edges.
  • Draft Snap Parallel.svg Snap Parallel: snaps to an imaginary line parallel to straight edges.
  • Draft Snap Special.svg Snap Special: snaps to special points defined by the object.
  • Draft Snap Near.svg Snap Near: snaps to the nearest point on faces and edges.
  • Draft Snap Ortho.svg Snap Ortho: snaps to imaginary lines that cross the previous point at multiples of 45°.
  • Draft Snap Grid.svg Snap Grid: snaps to the intersections of grid lines.

Borrador Herramientas de utilidad

Herramientas adicionales

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

  • Draft Heal.svg Heal: heals problematic Draft objects found in very old files.

Características adicionales

  • Restricción: limitar el puntero a movimientos horizontales o verticales en relación con un punto previo.
  • Ajuste: colocar nuevos puntos en lugares especiales de los objetos existentes o en la cuadrícula.
  • Modo de construcción: Permite crear geometrías separadas del resto, simplemente activándolas y desactivándolas.
  • Plano de trabajo: permite seleccionar una superficie sobre la que construir las formas.

Menú contextual de vista de árbol

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

Default options

For most Draft objects the following option is available:

If there is an active document the context menu contains an additional sub-menu:

  • Utilities: a subset of the tools available in the main Draft Utilities menu.

Opciones Hilos

For a Draft Line and a Draft Wire this additional option is available:

  • Draft Edit.svg Flatten: flattens the wire on the current Draft working plane. This option does not work properly in version 0.19 and below.

Opciones contenedor capas

For a Draft LayerContainer these additional options are available:

Opciones capa

For a Draft Layer these additional options are available:

Plano trabajo opciones proxy

For a Draft WorkingPlaneProxy these additional options are available:

  • Draft SelectPlane.svg Write objects state: updates the VistaVisibility Map property of the working plane proxy with the current visibility state of objects in the document.

3D vista menú contextual

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:

  • Utilities: a subset of the tools available in the main Draft Utilities menu.

Herramientas obsoletas

  • Draft Drawing.svg Drawing: inserts views of selected objects into a drawing page. Not available in version 0.21 and above.

Preferencias

Formatos de archivo

Son funciones para abrir, importar o exportar otros formatos de archivo. Abrir abrirá un nuevo documento con el contenido del archivo, mientras que importar añadirá el contenido del archivo al documento actual. Exportar guardará los objetos seleccionados en un archivo. Si no se selecciona nada, se exportarán todos los objetos. Tenga en cuenta que el propósito del Módulo Borrador es trabajar con objetos 2D, por lo que esas rutinas de importación se centran sólo en objetos 2D, y aunque los formatos DXF y OCA también soportan definiciones de objetos en el espacio 3D (los objetos no son necesariamente planos), no importarán objetos volumétricos como mallas, superficies 3D, etc., sino líneas, círculos, textos o formas planas. Los formatos de archivo actualmente soportados son: El módulo Borrador proporciona a FreeCAD importadores y exportadores para los siguientes formatos de archivo:

Pruebas unitarias

Véase también: Ambiente de trabajo Prueba.

Para ejecutar las pruebas unitarias del banco de trabajo, ejecute lo siguiente desde el terminal del sistema operativo.

freecad -t TestDraft

Guionizació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. introducido en la versión 0.19

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

import drafttests.draft_test_objects as dto
doc = dto.create_test_file()

Inspeccionar el código de este módulo es útil para entender cómo utilizar la interfaz de programación.

Tutoriales