Draft Drawing/es: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{Docnav
{{Docnav
|
|[[Draft_Clone|Clone]]
|
|[[Draft_Mirror|Mirror]]
|[[Draft_Module|Draft]]
|[[Draft_Workbench|Draft]]
|IconL=Draft_Clone.svg
|IconL=
|IconR=
|IconC=Workbench_Draft.svg
|IconC=Workbench_Draft.svg
|IconR=Draft_Mirror.svg
}}
}}


{{VeryImportantMessage|THIS COMMAND IS OBSOLETE<br>

Both the command and the [[Drawing_Workbench|Drawing Workbench]] it works with are not available in {{VersionPlus|0.21}}. Use the [[TechDraw_Workbench|TechDraw Workbench]] and the [[TechDraw_DraftView|TechDraw DraftView]] command instead.}}
{{VeryImportantMessage|Development of the [[Drawing Workbench|Drawing Workbench]] stopped in FreeCAD 0.16; the new [[TechDraw Workbench|TechDraw Workbench]] aiming to replace it was introduced in v0.17. Both workbenches are still provided in v0.17, but the Drawing Workbench may be removed in future releases.}}


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
{{GuiCommand/es
{{GuiCommand/es|Name=Draft_Drawing|Name/es=Dibujo|Workbenches=[[Draft Module/es|Croquis]], [[Arch Module/es|Arquitectura]]|MenuLocation=Croquis → Dibujo}}
|Name=Draft_Drawing
|Name/es=Dibujo
|MenuLocation=Croquis → Dibujo
|Workbenches=[[Draft_Workbench/es|Croquis]], [[Arch_Workbench/es|Arquitectura]]
}}
</div>
</div>


<span id="Description"></span>
==Descripción==
==Descripción==


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Esta herramienta te permite poner los objetos seleccionados en una [[Drawing Module/es|hoja de dibujo]] SVG. Si no existe ninguna hoja en el documento, se creará una por defecto.
Esta herramienta te permite poner los objetos seleccionados en una [[Drawing Workbench/es|hoja de dibujo]] SVG. Si no existe ninguna hoja en el documento, se creará una por defecto.
</div>
</div>


This tool works similarly to the [[Drawing View|Drawing View]] tool but is optimized for [[Draft Workbench|Draft Workbench]] objects, and can render 2D objects with a face filling. It can handle specific objects such as [[Draft Dimension|Draft Dimension]] and [[Draft Text|Draft Text]], that the [[Drawing View|Drawing View]] tool cannot handle.
This command is similar to the [[Drawing_View|Drawing View]] command but is optimized for [[Draft_Workbench|Draft]] objects. Contrary to that command, it can handle specific objects such as [[Draft_Dimension|Draft Dimensions]] and [[Draft_Text|Draft Texts]], and it can render faces.

This command is now obsolete. Use the [[TechDraw_Workbench|TechDraw Workbench]] and the [[TechDraw_DraftView|TechDraw DraftView]] command instead.


[[Image:Draft drawing example.jpg|640px]]
[[Image:Draft drawing example.jpg|640px]]
{{Caption|Draft object and dimensions imported into a Drawing page}}
{{Caption|On the left the selected Draft objects. On the right the created drawing views.}}


<span id="Usage"></span>
<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
==Utilización==
==Utilización==
Line 36: Line 46:
</div>
</div>


==Notes==
* The tool will work best with 2D objects from the [[Draft Workbench|Draft Workbench]] or [[Sketcher Workbench|Sketcher Workbench]].
* The selected object can also be an [[Arch SectionPlane|Arch SectionPlane]], which will show the elements viewed by that plane.
* If there is no existing page, a new one will be created.
* If no page was selected but there is at least one in the document, the first page found will be used to put the projections.
* If you select a sheet and the objects already projected on that sheet, the projections will be updated.

==Opciones==

<div class="mw-translate-fuzzy">
* Selecciona los objetos que quieras poner en la hoja de dibujo. La herramienta trabajará mejor con objetos planos 2D desde los módulos de [[Draft Module/es|Boceto]] o [[Sketcher Workbench/es|Croquizado]].
* Si el objeto seleccionado es una [[Arch SectionPlane/es|Sección plana de arquitectura]], esta herramienta creará una vista adicional de dicho plano de sección.
* 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.
* 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á.
</div>

==Propiedades==

<div class="mw-translate-fuzzy">
* {{PropertyData|Fill Style}}: Para formas cerradas, permite especificar uno de los estilos de relleno de Boceto, o utilizar el color de la forma.
* {{PropertyData|Font Size}}: Te permite especificar el tamaño de letra de los textos y dimensiones.
* {{PropertyData|Line Width}}: Te permite especificar el espesor de línea de los objetos visualizados.
</div>

<div class="mw-translate-fuzzy">
==Programación==
</div>

<div class="mw-translate-fuzzy">
La herramienta de Dibujos del Boceto se puede utilizar en [[macros/es|macros]] y desde la consola de Python utilizando la siguiente función:
</div>

{{Code|code=
DrawingView = makeDrawingView(obj, page, lwmod=None, tmod=None, otherProjection=None)
}}

* Creates a {{incode|DrawingView}} from {{incode|obj}} in the specified {{incode|page}}.
* If given, {{incode|lwmod}} modifies line weights in percentage, and {{incode|tmod}} modifies text heights in percentage.

The attributes of the view usually need to be modified so that it is displayed correctly in the drawing page. In particular, the position is controlled by {{incode|X}} and {{incode|Y}}, which are given in millimeters, and {{incode|Scale}} is important to correctly fit the projected shape in the page. The scale usually ranges from 1 to 0.25 (1:1 to 1:4) for small solids, and from 0.02 to 0.01 (1:50 to 1:100) for typical architectural elements.

Ejemplo:

{{Code|code=
import FreeCAD, Draft, Drawing

obj = Draft.makePolygon(5, 1000)
page = FreeCAD.ActiveDocument.addObject('Drawing::FeaturePage', 'Page')
page.Template = FreeCAD.getResourceDir() + 'Mod/Drawing/Templates/A3_Landscape.svg'

View = Draft.makeDrawingView(obj, page)
View.Scale = 0.02
FreeCAD.ActiveDocument.recompute()

View.X = 200
View.Y = 150
FreeCAD.ActiveDocument.recompute()
}}


{{Docnav
{{Docnav
|
|[[Draft_Clone|Clone]]
|
|[[Draft_Mirror|Mirror]]
|[[Draft_Module|Draft]]
|[[Draft_Workbench|Draft]]
|IconL=Draft_Clone.svg
|IconL=
|IconR=
|IconC=Workbench_Draft.svg
|IconC=Workbench_Draft.svg
|IconR=Draft_Mirror.svg
}}
}}


{{Draft Tools navi{{#translation:}}}}
{{Draft Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Latest revision as of 08:34, 20 May 2023

THIS COMMAND IS OBSOLETE
Both the command and the Drawing Workbench it works with are not available in version 0.21 and above. Use the TechDraw Workbench and the TechDraw DraftView command instead.

Dibujo

Ubicación en el Menú
Croquis → Dibujo
Entornos de trabajo
Croquis, Arquitectura
Atajo de teclado por defecto
Ninguno
Introducido en versión
-
Ver también
Ninguno

Descripción

Esta herramienta te permite poner los objetos seleccionados en una hoja de dibujo SVG. Si no existe ninguna hoja en el documento, se creará una por defecto.

This command is similar to the Drawing View command but is optimized for Draft objects. Contrary to that command, it can handle specific objects such as Draft Dimensions and Draft Texts, and it can render faces.

This command is now obsolete. Use the TechDraw Workbench and the TechDraw DraftView command instead.

On the left the selected Draft objects. On the right the created drawing views.

Utilización

  1. Selecciona los objetos que quieres poner en una hoja de dibujo
  2. Presiona el botón de Dibujo