TechDraw: Vista di Draft

From FreeCAD Documentation
Revision as of 20:13, 8 April 2020 by Renatorivo (talk | contribs) (Created page with "# Selezionare un oggetto Draft nella finestra 3D o nella vista a albero. # Se nel documento ci sono più pagine di disegno, è necessario selezionare anche la pagina desiderat...")
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.

Limitazioni

The DraftView is rendered within the Draft Workbench, therefore TechDraw has limited control over its appearance. You may need to make changes within Draft to get the representation you want.

Opzioni

  • 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 stroke-dasharray value, such as 3,5
  • Projected faces are filled with the face color

Proprietà

  • DatiSource: The draft object to be displayed
  • DatiLineWidth: The width of the lines, independently of the scale
  • DatiFontSize: The size of all texts appearing in this view (texts and dimensions)
  • DatiDirection: The projection direction to use
  • DatiColor: The color of lines
  • DatiLineStyle: A line style to use for this view. Can be Solid, Dashed, Dashdot, Dot or a SVG line pattern like 0.20,0.20
  • DatiLineSpacing: The spacing to use between lines of texts for multiline texts

Nota: Vista di Draft eredita tutte le proprietà della Vista di base applicabili.

Script

Vedere anche: API TechDraw e Nozioni di base sugli script di FreeCAD.

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)