Draft Drawing/it: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
No edit summary
 
(71 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<languages/>
{{GuiCommand|Name=Draft_Drawing|Workbenches=[[Draft Module|Draft]], [[Arch Module|Arch]]|MenuLocation=Drafting -> Drawing}}


{{Docnav/it
==Description==
|
|
|[[Draft_Workbench/it|Draft]]
|IconL=
|IconR=
|IconC=Workbench_Draft.svg
}}


{{VeryImportantMessage|QUESTO COMANDO È OBSOLETO<br>
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.
Sia il comando che l' [[Drawing_Workbench/it|Ambiente Drawing]] con cui funziona non sono disponibili in {{VersionPlus/it|0.21}}. Utilizzare invece il comando [[TechDraw_Workbench/it|TechDraw]] e il comando [[TechDraw_DraftView/it|TechDraw Vista di Draft]].}}


{{GuiCommand/it
[[Image:Draft drawing example.jpg|640px]]
|Name=Draft Drawing
|Name/it=Disegno
|Workbenches=[[Drawing_Workbench/it|Drawing]], [[Draft_Workbench/it|Draft]], [[Arch_Workbench/it|Arch]]
|SeeAlso=[[TechDraw_DraftView/it|TechDraw Vista di Draft]]
}}


<span id="Description"></span>
==How to use==
==Descrizione==


Il comando [[Image:Draft_Drawing.svg|24px]] '''Draft Drawing''' inserisce viste degli oggetti selezionati in una pagina [[Drawing_Workbench/it|drawing]].
# Select the objects you wish to put on a drawing sheet
# Press the {{KEY|[[Image:Draft Drawing.png|16px]] [[Draft Drawing]]}} button


Questo comando è simile al comando [[Drawing_View/it|Draft View]] ma è ottimizzato per gli oggetti [[Draft_Workbench/it|Draft]]. Contrariamente a quel comando, può gestire oggetti specifici come [[Draft_Dimension/it|Draft Quote]] e [[Draft_Text/it|Draft Testi]], e può eseguire il rendering delle facce.
==Options==


Questo comando è ormai obsoleto. Utilizzare invece l' [[TechDraw_Workbench/it|Ambiente TechDraw]] e il comando [[TechDraw_DraftView/it|TechDraw Vista di Draft]].
* 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.
* 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.


[[Image:Draft drawing example.jpg|640px]]
==Properties==
{{Caption|A sinistra gli oggetti Draft selezionati. A destra le viste del disegno create.}}


<span id="Usage"></span>
* {{PropertyData|Fill Style}}: For closed shapes, allows to specify one of the Default Draft fill styles, or use the shape color.
==Utilizzo==
* {{PropertyData|Font Size}}: Allows you to specify the font size of texts and dimensions.
* {{PropertyData|Line Width}}: Allows you to specify the line width of viewed objects.


# Per utilizzare questo comando in FreeCAD versione 0.19 e successive è necessario aggiungere un pulsante ad una barra degli strumenti personalizzata. Vedere [[Interface_Customization/it|Personalizzazione dell'interfaccia]].
==Scripting==
# Selezionare uno o più oggetti. Verrà creata una vista separata per ciascun oggetto.
# Facoltativamente aggiungere una pagina [[Drawing_Workbench/it|Drawing]] alla selezione. In caso contrario, la vista verrà inserita nella prima pagina del documento. Se nel documento non sono presenti pagine, viene creata prima una nuova pagina.
# Premere il pulsante {{Button|[[Image:Draft_Drawing.svg|16px]] [[Draft_Drawing/it|Draft Drawing]]}}.
# C'è un bug nella versione 0.19 del comando di FreeCAD. Il valore iniziale della proprietà {{PropertyData|Direction}} è {{Value|[0, 0, 0]}} che non è consentito. Per gli oggetti su un piano parallelo al piano XY del sistema di coordinate globale dovrebbe essere modificato in {{Value|[0, 0, 1]}}. Dopo aver modificato questa proprietà, potrebbe essere necessario [[Std_Refresh/it|ricalcolare]] la pagina e la vista.


The Draft Drawing tool can by used in [[macros]] and from the python console by using the following function:


{{Docnav/it
<syntaxhighlight>
|
makeDrawingView (object,page)
|
</syntaxhighlight>
|[[Draft_Workbench/it|Draft]]
|IconL=
|IconR=
|IconC=Workbench_Draft.svg
}}


{{Draft Tools navi{{#translation:}}}}
* Adds a view of the given object to the given page.
{{Userdocnavi{{#translation:}}}}
* Returns the created view object.

Example:

<syntaxhighlight>
import FreeCAD,Draft
obj = FreeCAD.ActiveDocument.ActiveObject
page = FreeCAD.ActiveDocument.Page
Draft.makeDrawingView(obj,page)
</syntaxhighlight>

<languages/>

Latest revision as of 19:27, 9 September 2023

QUESTO COMANDO È OBSOLETO
Sia il comando che l' Ambiente Drawing con cui funziona non sono disponibili in versione 0.21 e superiori. Utilizzare invece il comando TechDraw e il comando TechDraw Vista di Draft.

Disegno

Posizione nel menu
Nessuno
Ambiente
Drawing, Draft, Arch
Avvio veloce
Nessuno
Introdotto nella versione
-
Vedere anche
TechDraw Vista di Draft

Descrizione

Il comando Draft Drawing inserisce viste degli oggetti selezionati in una pagina drawing.

Questo comando è simile al comando Draft View ma è ottimizzato per gli oggetti Draft. Contrariamente a quel comando, può gestire oggetti specifici come Draft Quote e Draft Testi, e può eseguire il rendering delle facce.

Questo comando è ormai obsoleto. Utilizzare invece l' Ambiente TechDraw e il comando TechDraw Vista di Draft.

A sinistra gli oggetti Draft selezionati. A destra le viste del disegno create.

Utilizzo

  1. Per utilizzare questo comando in FreeCAD versione 0.19 e successive è necessario aggiungere un pulsante ad una barra degli strumenti personalizzata. Vedere Personalizzazione dell'interfaccia.
  2. Selezionare uno o più oggetti. Verrà creata una vista separata per ciascun oggetto.
  3. Facoltativamente aggiungere una pagina Drawing alla selezione. In caso contrario, la vista verrà inserita nella prima pagina del documento. Se nel documento non sono presenti pagine, viene creata prima una nuova pagina.
  4. Premere il pulsante Draft Drawing.
  5. C'è un bug nella versione 0.19 del comando di FreeCAD. Il valore iniziale della proprietà DatiDirection è [0, 0, 0] che non è consentito. Per gli oggetti su un piano parallelo al piano XY del sistema di coordinate globale dovrebbe essere modificato in [0, 0, 1]. Dopo aver modificato questa proprietà, potrebbe essere necessario ricalcolare la pagina e la vista.