TechDraw DraftView/it: Difference between revisions

From FreeCAD Documentation
(Created page with "=== Limitazioni ===")
(Updating to match new version of source page)
 
(27 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{Docnav
<div class="mw-translate-fuzzy">
|[[TechDraw_DetailView|Insert Detail View]]
{{Docnav/it
|[[TechDraw_ArchView|Insert Arch Workbench Object]]
|[[TechDraw_DetailView/it|Dettaglio]]
|[[TechDraw_Module|TechDraw]]
|[[TechDraw_ArchView/it|Vista di Arch]]
|[[TechDraw_Workbench/it|TechDraw]]
|IconL=TechDraw DetailView.svg
|IconL=TechDraw DetailView.svg
|IconC=Workbench_TechDraw.svg
|IconC=Workbench_TechDraw.svg
|IconR=TechDraw_ArchView.svg
|IconR=TechDraw_ArchView.svg
}}
}}
</div>


<div class="mw-translate-fuzzy">
{{GuiCommand
{{GuiCommand/it
|Name=TechDraw DraftView
|Name=TechDraw_DraftView
|MenuLocation=TechDraw → Insert Draft Workbench Object
|Name/it=Vista di Draft
|Workbenches=[[TechDraw Module|TechDraw]]
|MenuLocation=TechDraw → Vista di Draft
|SeeAlso=[[Draft Workbench|Draft Workbench]], [[TechDraw_ArchView|Insert Arch Workbench Object]]
|Workbenches=[[TechDraw_Workbench/it|TechDraw]]
|SeeAlso=[[Draft Workbench/it|Draft]], [[TechDraw_ArchView/it|Vista di Arch]]
}}
}}
</div>


<span id="Description"></span>
==Descrizione==
==Descrizione==


<div class="mw-translate-fuzzy">
The [[Image:TechDraw_DraftView.svg|24px]] [[TechDraw_DraftView|DraftView]] tool inserts a view of a selected [[Part Module|Part]]-based or Group object into a drawing page. Unlike the standard [[Image:TechDraw_View.svg|24px]] [[TechDraw_View|View]] tool, views created with this tool are handled by the [[Image:Workbench_Draft.svg|24px]] [[Draft Workbench|Draft Workbench]], and specially designed for showing 2D objects. See Notes.
Lo strumento [[Image:TechDraw_DraftView.svg|24px]] [[TechDraw_DraftView/it|Vista di Draft]] inserisce in una pagina di disegno una vista di un oggetto basato su [[Part_Workbench/it|Part]] selezionato o di un gruppo. A differenza dello strumento standard [[Image:TechDraw_View.svg|24px]] [[TechDraw_View/it|Vista]], le viste create con questo strumento sono gestite da [[Image:Workbench_Draft.svg|24px]] [[Draft Workbench/it|Draft]], e appositamente progettato per mostrare oggetti 2D. Vedere le note.
</div>


[[Image:TechDraw_DraftView_example.png]]
[[Image:TechDraw_DraftView_example.png]]
{{Caption|Elementi di Draft, cerchi e schiere, importati in una pagina di disegno TechDraw}}
{{Caption|Elementi di Draft, cerchi e schiere, importati in una pagina di disegno TechDraw}}


<span id="Usage"></span>
==Utilizzo==
==Utilizzo==


<div class="mw-translate-fuzzy">
# Select a draft object in the 3D view or in the tree
# Selezionare un oggetto Draft nella finestra 3D o nella vista a albero.
# If you have multiple drawing pages in your document, you will need to select the desired page in the tree.
# Se nel documento ci sono più pagine di disegno, è necessario selezionare anche la pagina desiderata nella struttura.
# Press the {{Button|[[Image:TechDraw DraftView.svg|16px]] [[TechDraw DraftView|Insert Draft Workbench Object]]}} button
# Premere il pulsante {{Button|[[Image:TechDraw DraftView.svg|16px]] [[TechDraw DraftView/it|Vista di Draft]]}}
# A view of the draft object will appear on the page.
# Nella pagina viene aggiunta una vista di un oggetto di Draft.
</div>


<span id="Options"></span>
== Opzioni ==

<div class="mw-translate-fuzzy">
* La creazione di una vista di Draft di un gruppo gestisce in modo ricorsivo tutti gli oggetti trovati in quel gruppo e nei suoi sottogruppi. La vista viene aggiornata automaticamente quando i contenuti del gruppo cambiano.
* Non è prevista la rimozione delle linee nascoste. Ogni faccia trovata negli oggetti gestiti viene semplicemente proiettata lungo il vettore Direzione, quando le facce si sovrappongono non viene intrapresa nessuna azione specifica.
* La vista di Draft supporta anche tutti gli oggetti Draft che non sono basati su parti, come dimensioni e testi
* Colore, larghezza e tipo di linea possono essere specificati nelle proprietà. I tipi di linea possono essere perfezionati dando direttamente un valore [https://www.w3.org/TR/SVG/painting.html#StrokeProperties stroke-dasharray], ad esempio 3,5.
* Le facce proiettate vengono riempite con il colore della faccia.
</div>

<span id="Notes"></span>
<div class="mw-translate-fuzzy">
=== Limitazioni ===
=== Limitazioni ===
</div>


<div class="mw-translate-fuzzy">
The DraftView is rendered within the [[Draft Workbench|Draft Workbench]], therefore TechDraw has limited control over its appearance. You may need to make changes within Draft to get the representation you want.
Poiché la Vista di Draft è resa all'interno del modulo [[Draft Workbench/it|Draft]], TechDraw ha un controllo limitato sul suo aspetto. Potrebbe essere necessario apportare delle modifiche all'interno di Draft per ottenere la rappresentazione desiderata.
</div>


<span id="Properties"></span>
==Options==
== Proprietà ==


See also [[TechDraw_View#Properties|TechDraw View]].
* Creating a Draft View of a group will recursively handle all the objects found into that group and in its subgroups. The View is updated automatically when the contents of the group changes
* There is no hidden line removal. Each face found in the handled object(s) will simply be projected along the Direction vector, no specific action is taken when faces overlap
* The Draft View also supports all Draft objects that are not Part-based, such as dimensions and texts
* Color, line width and line pattern can be specified in the properties. Line patterns can be fine-tuned by directly giving a [https://www.w3.org/TR/SVG/painting.html#StrokeProperties stroke-dasharray] value, such as 3,5
* Projected faces are filled with the face color


==Properties==
=== Data ===


{{TitleProperty|Draft view}}
* {{PropertyData|Source}}: The draft object to be displayed
* {{PropertyData|LineWidth}}: The width of the lines, independently of the scale
* {{PropertyData|FontSize}}: The size of all texts appearing in this view (texts and dimensions)
* {{PropertyData|Direction}}: The projection direction to use
* {{PropertyData|Color}}: The color of lines
* {{PropertyData|LineStyle}}: A line style to use for this view. Can be Solid, Dashed, Dashdot, Dot or a SVG line pattern like 0.20,0.20
* {{PropertyData|LineSpacing}}: The spacing to use between lines of texts for multiline texts


<div class="mw-translate-fuzzy">
Note: DraftView inherits all applicable basic View properties.
* {{PropertyData|Source}}: L'oggetto di Draft da visualizzare
* {{PropertyData|LineWidth}}: La larghezza delle linee, indipendentemente dalla scala
* {{PropertyData|FontSize}}: Le dimensioni di tutti i testi che compaiono in questa vista (i testi e le dimensioni)
* {{PropertyData|Direction}}: La direzione di proiezione da usare
* {{PropertyData|Color}}: Il colore delle linee
* {{PropertyData|LineStyle}}: Lo stile di linea da utilizzare per questa vista. Può essere Solid, Dashed, Dashdot, Dot o un modello linea SVG come 0.20,0.20
* {{PropertyData|LineSpacing}}: Interlinea per testi multilinea
</div>


==Scripting==
<span id="Scripting"></span>
==Script==


<div class="mw-translate-fuzzy">
{{Emphasis|See also:}} [[TechDraw API|TechDraw API]] and [[FreeCAD Scripting Basics|FreeCAD Scripting Basics]].
{{Emphasis|Vedere anche:}} [[TechDraw API/it|API TechDraw]] e [[FreeCAD Scripting Basics/it|Nozioni di base sugli script di FreeCAD]].
</div>


<div class="mw-translate-fuzzy">
The New Draft tool can be used in [[macros|macros]] and from the [[Python|Python]] console by using the following functions:
Lo strumento New Draft può essere utilizzato nelle [[macros/it|macro]] e dalla [[FreeCAD_Scripting_Basics/it|console di Python]] tramite la seguente funzione:
</div>


{{Code|code=
{{Code|code=
Line 66: Line 98:
}}
}}



{{Docnav
<div class="mw-translate-fuzzy">
|[[TechDraw_DetailView|Insert Detail View]]
{{Docnav/it
|[[TechDraw_ArchView|Insert Arch Workbench Object]]
|[[TechDraw_DetailView/it|Dettaglio]]
|[[TechDraw_Module|TechDraw]]
|[[TechDraw_ArchView/it|Vista di Arch]]
|[[TechDraw_Workbench/it|TechDraw]]
|IconL=TechDraw DetailView.svg
|IconL=TechDraw DetailView.svg
|IconC=Workbench_TechDraw.svg
|IconC=Workbench_TechDraw.svg
|IconR=TechDraw_ArchView.svg
|IconR=TechDraw_ArchView.svg
}}
}}
</div>


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

Latest revision as of 08:08, 26 July 2023

Other languages:

Vista di Draft

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

Descrizione

Lo strumento Vista di Draft inserisce in una pagina di disegno una vista di un oggetto basato su Part selezionato o di un gruppo. A differenza dello strumento standard Vista, le viste create con questo strumento sono gestite da Draft, e appositamente progettato per mostrare oggetti 2D. Vedere le note.

Elementi di Draft, cerchi e schiere, importati in una pagina di disegno TechDraw

Utilizzo

  1. Selezionare un oggetto Draft nella finestra 3D o nella vista a albero.
  2. Se nel documento ci sono più pagine di disegno, è necessario selezionare anche la pagina desiderata nella struttura.
  3. Premere il pulsante Vista di Draft
  4. Nella pagina viene aggiunta una vista di un oggetto di Draft.

Opzioni

  • La creazione di una vista di Draft di un gruppo gestisce in modo ricorsivo tutti gli oggetti trovati in quel gruppo e nei suoi sottogruppi. La vista viene aggiornata automaticamente quando i contenuti del gruppo cambiano.
  • Non è prevista la rimozione delle linee nascoste. Ogni faccia trovata negli oggetti gestiti viene semplicemente proiettata lungo il vettore Direzione, quando le facce si sovrappongono non viene intrapresa nessuna azione specifica.
  • La vista di Draft supporta anche tutti gli oggetti Draft che non sono basati su parti, come dimensioni e testi
  • Colore, larghezza e tipo di linea possono essere specificati nelle proprietà. I tipi di linea possono essere perfezionati dando direttamente un valore stroke-dasharray, ad esempio 3,5.
  • Le facce proiettate vengono riempite con il colore della faccia.

Limitazioni

Poiché la Vista di Draft è resa all'interno del modulo Draft, TechDraw ha un controllo limitato sul suo aspetto. Potrebbe essere necessario apportare delle modifiche all'interno di Draft per ottenere la rappresentazione desiderata.

Proprietà

See also TechDraw View.

Data

Draft view

  • DatiSource: L'oggetto di Draft da visualizzare
  • DatiLineWidth: La larghezza delle linee, indipendentemente dalla scala
  • DatiFontSize: Le dimensioni di tutti i testi che compaiono in questa vista (i testi e le dimensioni)
  • DatiDirection: La direzione di proiezione da usare
  • DatiColor: Il colore delle linee
  • DatiLineStyle: Lo stile di linea da utilizzare per questa vista. Può essere Solid, Dashed, Dashdot, Dot o un modello linea SVG come 0.20,0.20
  • DatiLineSpacing: Interlinea per testi multilinea

Script

Lo strumento New Draft può essere utilizzato nelle macro e dalla console di Python tramite la seguente funzione:

dv = FreeCAD.ActiveDocument.addObject('TechDraw::DrawViewDraft','TestDraft')
dv.Source = myDraftbject
rc = page.addView(dv)