Visualizza: Stile di disegno

From FreeCAD Documentation
Revision as of 20:02, 24 November 2019 by Renatorivo (talk | contribs) (Created page with "* Andare nel menuStile di disegno e selezionare una opzione ** 24px Come è ** 24px Linee e f...")
Other languages:

Stile di disegno

Posizione nel menu
Visualizza → Stile di disegno
Ambiente
Tutti
Avvio veloce
Nessuno
Introdotto nella versione
-
Vedere anche
Box contenitore

Descrizione

Tutti gli oggetti della Vista 3D possono essere mostrati in diversi stili di disegno, tra cui linee continue, reticoli o come punti.

File:FreeCAD draw styles.svg

Diversi stili di disegno: (0) come è, (1) facce piene, (2) ombreggiato, (3) reticolo, (4) punti, (5) linee nascoste, (6) senza ombre.

Utilizzo

  • Andare nel menuStile di disegno e selezionare una opzione
    • Come è
    • Linee e facce piene
    • Ombreggiato
    • Solo linee
    • Punti
    • Linee nascoste
    • Senza ombre
  • Or press the corresponding button in the view toolbar.

Notes

  • The "Flat lines" style gives a solid color to the edges, and the faces are differently illuminated depending on the orientation of the view.
  • The "Shaded" style removes the color of the edges. This style is better when displaying objects that have many different faces with normals that are in different directions, particularly directions distinct to the X, Y, and Z axes.
  • The "Wireframe" style removes the color of the faces, leaving only the edges and vertices. This results in a see-through mode, so it is possible to see objects that are completely or partially hidden by other objects.
  • The "Points" style only shows the vertices where two edges connect. For solids that are made of relatively simple shapes, only a few vertices will be seen. This style is better when displaying meshes, as in this case typically there will be a lot of vertices. To improve visibility, with this style it could be helpful to increase the value of VistaPoint Size.
  • The "Hidden line" style shows the triangular faces and their edges as if the objects were converted to triangular meshes.
  • The "No shading" style gives a solid color to the edges, and all faces are equally illuminated regardless of the orientation of the view.

Scripting

The draw style can be set from the Python console.

The argument to the "Std_DrawStyle" command determines the style.

  • 0, As is
  • 1, Flat lines
  • 2, Shaded
  • 3, Wireframe
  • 4, Points
  • 5, Hidden line
  • 6, No shading
import FreeCADGui as Gui

Gui.runCommand('Std_DrawStyle', 0)
Gui.runCommand('Std_DrawStyle', 1)
Gui.runCommand('Std_DrawStyle', 2)
Gui.runCommand('Std_DrawStyle', 3)
Gui.runCommand('Std_DrawStyle', 4)
Gui.runCommand('Std_DrawStyle', 5)
Gui.runCommand('Std_DrawStyle', 6)