Draft Drawing/es: Difference between revisions
Emagdalena (talk | contribs) m (Languages spanish) |
(Updating to match new version of source page) |
||
Line 1: | Line 1: | ||
{{GuiCommand |
{{GuiCommand|Name=Draft_Drawing|Workbenches=[[Draft Module|Draft]], [[Arch Module|Arch]]|MenuLocation=Drafting -> Drawing}} |
||
==Description== |
|||
====Descripción==== |
|||
This tool allows you to put selected objects on a svg [[Drawing Module|Drawing sheet]]. If no [[Drawing_templates|sheet]] exists in the document, a default one will be created. |
|||
[[Image:Draft drawing example.jpg| |
[[Image:Draft drawing example.jpg|640px]] |
||
== |
==How to use== |
||
# Select the objects you wish to put on a drawing sheet |
|||
# Selecciona los objetos que quieres poner en una hoja de dibujo |
|||
# |
# Press the {{KEY|[[Image:Draft Drawing.png|16px]] [[Draft Drawing]]}} button |
||
== |
==Options== |
||
* |
* Select objects you want to put on the drawing sheet. The tool will work best with flat 2D objects from the [[Draft Module|Draft]] or [[Sketcher Workbench|Sketcher]] modules. |
||
* |
* If the selected object is an [[Arch SectionPlane]], this tool will create an additional view of that section plane. |
||
* In the same selection, add the page object you want to draw your objects to. If there is no existing page, a new one will be created. If you didn't select a page but there is at least one in the document, the first found one will be used to draw to. |
|||
* En la misma selección, añade el objeto página en el que quieras dibujar tus objetos. Si no existe ninguna página, se creará una nueva. Si no se selecciona ningún objeto página pero existe al menos uno en el documento, el primero que se encuentre será en el que se dibuje. |
|||
* If you selected an existing sheet, and the objects in the selection that are already on that sheet (for ex. for a "Rectangle" object there is already a "ViewRectangle" object on the sheet), they will be substitued. This allows you to simply select all the objects and send them to an existing page, which will simply be updated. |
|||
* Si seleccionas una hoja de dibujo existente, y los objetos de la selección que estén ya en esa hoja de dibujo (por ejemplo para un objeto "rectángulo" que tuviera ya un objeto "ViewRectangle" en la hoja), serán sustituidos. Esto te permite simplemente seleccionar todos los objetos y enviarlos a una página existente, la cual simplemente se actualizará. |
|||
== |
==Properties== |
||
* {{PropertyData|Fill Style}}: |
* {{PropertyData|Fill Style}}: For closed shapes, allows to specify one of the Default Draft fill styles, or use the shape color. |
||
* {{PropertyData|Font Size}}: |
* {{PropertyData|Font Size}}: Allows you to specify the font size of texts and dimensions. |
||
* {{PropertyData|Line Width}}: |
* {{PropertyData|Line Width}}: Allows you to specify the line width of viewed objects. |
||
==Scripting== |
|||
==Archivos de guión== |
|||
The Draft Drawing tool can by used in [[macros]] and from the python console by using the following function: |
|||
La herramienta de Dibujos del Boceto se puede utilizar en [[macros/es|macros]] y desde la consola de Python utilizando la siguiente función: |
|||
<syntaxhighlight> |
|||
'''makeDrawingView (object,page)''': adds a view of the given object to the given page. Returns the created view object. |
|||
makeDrawingView (object,page) |
|||
</syntaxhighlight> |
|||
* Adds a view of the given object to the given page. |
|||
Ejemplo: |
|||
* Returns the created view object. |
|||
Example: |
|||
<syntaxhighlight> |
|||
import FreeCAD,Draft |
import FreeCAD,Draft |
||
obj = FreeCAD.ActiveDocument.ActiveObject |
obj = FreeCAD.ActiveDocument.ActiveObject |
||
page = FreeCAD.ActiveDocument.Page |
page = FreeCAD.ActiveDocument.Page |
||
Draft.makeDrawingView(obj,page) |
Draft.makeDrawingView(obj,page) |
||
</syntaxhighlight> |
|||
<languages/> |
|||
{{languages/es | {{en|Draft PutOnSheet}} {{fr|Draft Drawing/fr}} {{it|Draft Drawing/it}} {{se|Draft PutOnSheet/se}} }} |
Revision as of 23:11, 13 February 2014
Draft_Drawing |
Menu location |
---|
Drafting -> Drawing |
Workbenches |
Draft, Arch |
Default shortcut |
None |
Introduced in version |
- |
See also |
None |
Description
This tool allows you to put selected objects on a svg Drawing sheet. If no sheet exists in the document, a default one will be created.
How to use
- Select the objects you wish to put on a drawing sheet
- Press the Draft Drawing button
Options
- Select objects you want to put on the drawing sheet. The tool will work best with flat 2D objects from the Draft or Sketcher modules.
- If the selected object is an Arch SectionPlane, this tool will create an additional view of that section plane.
- In the same selection, add the page object you want to draw your objects to. If there is no existing page, a new one will be created. If you didn't select a page but there is at least one in the document, the first found one will be used to draw to.
- If you selected an existing sheet, and the objects in the selection that are already on that sheet (for ex. for a "Rectangle" object there is already a "ViewRectangle" object on the sheet), they will be substitued. This allows you to simply select all the objects and send them to an existing page, which will simply be updated.
Properties
- DatosFill Style: For closed shapes, allows to specify one of the Default Draft fill styles, or use the shape color.
- DatosFont Size: Allows you to specify the font size of texts and dimensions.
- DatosLine Width: Allows you to specify the line width of viewed objects.
Scripting
The Draft Drawing tool can by used in macros and from the python console by using the following function:
makeDrawingView (object,page)
- Adds a view of the given object to the given page.
- Returns the created view object.
Example:
import FreeCAD,Draft
obj = FreeCAD.ActiveDocument.ActiveObject
page = FreeCAD.ActiveDocument.Page
Draft.makeDrawingView(obj,page)