TechDraw: Vista attiva

From FreeCAD Documentation
Revision as of 16:37, 14 April 2022 by FuzzyBot (talk | contribs) (Updating to match new version of source page)
Other languages:

Vista attiva

Posizione nel menu
TechDraw → Vista attiva
Ambiente
TechDraw
Avvio veloce
Nessuno
Introdotto nella versione
0.19
Vedere anche
Simbolo

Descrizione

Lo strumento Vista attiva inserisce una copia di una finestra 3D in una pagina di disegno.

Una vista semplice dal modello 3D.

Utilizzo

  1. Passare alla finestra 3D che si desidera copiare.
  2. Se nel documento sono presenti più pagine di disegno, è necessario selezionare nella struttura ad albero anche la pagina desiderata.
  3. Premere il pulsante Vista attiva.
  4. Si apre una finestra di dialogo che consente di specificare le dimensioni, il colore del bordo e dello sfondo della copia.

Options

The following can be specified:

  • Width: The width of the generated view.
  • Height: The height of the generated view.
  • Border: The amount of empty space to be left around the view (but within Width x Height).
  • Background: If checked a background with the specified color is added.
  • Line Width: The thickness of the lines in the view.
  • Render Mode: The available modes are:
    • As is: Render primitives as they are.
    • Wireframe: Render polygons as wireframe.
    • Points: Render only the vertices of the polygons and lines.
    • Wireframe overlay: Render a wireframe overlay in addition to the As is mode.
    • Hidden Line: As Wireframe, but culls lines which would otherwise not be shown due to geometric culling.
    • Bounding box: Only show the bounding box of each object.

Note

  • Le viste attive sono statiche, una volta generate non vengono mai aggiornate con le modifiche al modello 3D.
  • Vista attiva in realtà è un Simbolo. La sua proprietà DatiScale Type viene quindi sempre inizializzata come Personalizzata.
  • Questo strumento è ancora in qualche modo sperimentale.

Proprietà

Vedere Simbolo

Script

Lo strumento Vista attiva può essere utilizzato nelle macro e dalla console Python utilizzando la seguente funzione:

import TechDrawGui
TechDrawGui.copyActiveViewToSvgFile(Gui.ActiveDocument.ActiveView,"myFile.svg")