Std DrawStyle/it: Difference between revisions

From FreeCAD Documentation
(Created page with "Tutti gli oggetti della Vista 3D possono essere mostrati in diversi stili di disegno, tra cui linee continue, reticoli o come punti.")
(Updating to match new version of source page)
(31 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{Docnav/it
|[[Std_FreezeViews/it|Viste bloccate ]]
|[[Std_SelBoundingBox/it|Box contenitore]]
|[[Std_View_Menu/it|Menu Visualizza]]
|IconL=
|IconR=Std_SelBoundingBox.svg
|IconC=Freecad.svg
}}

{{GuiCommand/it
{{GuiCommand/it
|Name=Std DrawStyle
|Name=Std DrawStyle
|Name/it=Stile di disegno
|Name/it=Stile di disegno
|MenuLocation=[[Std View Menu/it|Visualizza]] → Stile di disegno
|MenuLocation=Visualizza → Stile di disegno
|Workbenches=Tutti
|Workbenches=Tutti
|Shortcut={{KEY|V}} {{KEY|1}} - {{KEY|V}} {{KEY|7}}
|SeeAlso=[[Std_SelBoundingBox/it|Box contenitore]]
|SeeAlso=[[Std_SelBoundingBox/it|Box contenitore]]
}}
}}
Line 10: Line 21:
==Descrizione==
==Descrizione==


Il comando '''Std DrawStyle''' può sovrascrivere l'effetto delle [[Property editor/it|proprietà]] che definiscono la {{PropertyView/it|modalità di visualizzazione}} degli oggetti nella [[3D_view/it|vista 3D]].
Tutti gli oggetti della [[3D view/it|Vista 3D]] possono essere mostrati in diversi stili di disegno, tra cui linee continue, reticoli o come punti.

==Utilizzo==

<div class="mw-translate-fuzzy">
# Esistono diversi modi per invocare il comando:
#* Fare clic sulla freccia nera verso il basso a destra del pulsante {{Button|[[Image:Std_DrawStyleAsIs.svg|16px]] [[Std_DrawStyle/it|Stile di disegno]]}} e selezionare uno stile dal riquadro a comparsa. Notare: l'immagine del pulsante cambia per riflettere lo stile di disegno corrente del documento attivo.
#* Andare nel menu {{MenuCommand|Visualizza → Stile di disegno}} e scegliere uno stile.
#* Nel menu contestuale [[3D_view/it|Vista 3D]] andare in {{MenuCommand|Stile di disegno}} e selezionare uno stile.
#* Usare una delle scorciatoie da tastiera: {{KEY|V}} e poi {{KEY|1}}, {{KEY|2}}, {{KEY|3}}, {{KEY|4}}, {{KEY|5}}, {{KEY|6}} o {{KEY|7}}.
</div>

==Available draw styles==

<div class="mw-translate-fuzzy">
===[[Image:Std_DrawStyleAsIs.svg|16px]] Come è===
</div>

The '''As is''' style does not override the {{PropertyView|Display Mode}} of objects.

[[Image:Std_DrawStyleAsIs_example.png]]
{{Caption|4 identical objects each with a different Display Mode (from left to right: 'Points', 'Wireframe', 'Shaded' and 'Flat lines') with the 'As is' draw style applied}}

<div class="mw-translate-fuzzy">
===[[Image:Std_DrawStylePoints.svg|16px]] Punti===
</div>

The '''Points''' style overrides the {{PropertyView|Display Mode}} of objects. This style matches the 'Points' Display Mode. Vertices are displayed in solid colors. Edges and faces are not displayed.

[[Image:Std_DrawStylePoints_example.png]]
{{Caption|The same objects with the 'Points' draw style applied}}

<div class="mw-translate-fuzzy">
===[[Image:Std_DrawStyleWireFrame.svg|16px]] Reticolo===
</div>

The '''Wireframe''' style overrides the {{PropertyView|Display Mode}} of objects. This style matches the 'Wireframe' Display Mode. Vertices and edges are displayed in solid colors. Faces are not displayed.

[[Image:Std_DrawStyleWireframe_example.png]]
{{Caption|The same objects with the 'Wireframe' draw style applied}}

<div class="mw-translate-fuzzy">
===[[Image:Std_DrawStyleHiddenLine.svg|16px]] Linee nascoste===
</div>

The '''Hidden line''' style overrides the {{PropertyView|Display Mode}} of objects. Objects are displayed as if converted to triangular meshes.

[[Image:Std_DrawStyleHiddenLine_example.png]]
{{Caption|The same objects with the 'Hidden line' draw style applied}}

<div class="mw-translate-fuzzy">
===[[Image:Std_DrawStyleNoShading.svg|16px]] Senza ombre===
</div>


The '''No shading''' style overrides the {{PropertyView|Display Mode}} of objects. Vertices, edges and faces are displayed in solid colors.
[[File:FreeCAD_draw_styles.svg|800px]]
{{Caption|Different drawing styles: (0) as is, (1) flat lines, (2) shaded, (3) wireframe, (4) points, (5) hidden line, (6) no shading.}}


[[Image:Std_DrawStyleNoShading_example.png]]
==How to use==
{{Caption|The same objects with the 'No shading' draw style applied}}


<div class="mw-translate-fuzzy">
* Go to the menu {{MenuCommand|View → Draw styles}}, and select an option.
===[[Image:Std_DrawStyleShaded.svg|16px]] Ombreggiato===
** [[File:DrawStyleAsIs.svg|24px]] As is
</div>
** [[File:DrawStyleFlatLines.svg|24px]] Flat lines
** [[File:DrawStyleShaded.svg|24px]] Shaded
** [[File:DrawStyleWireFrame.svg|24px]] Wireframe
** [[File:DrawStylePoints.svg|24px]] Points
** [[File:DrawStyleWireFrame.svg|24px]] Hidden line
** [[File:DrawStyleWireFrame.svg|24px]] No shading


The '''Shaded''' style overrides the {{PropertyView|Display Mode}} of objects. This style matches the 'Shaded' Display Mode. Vertices and edges are not displayed. Faces are illuminated depending on their orientation.
* Or press the corresponding button in the view toolbar.


[[Image:Std_DrawStyleShaded_example.png]]
=== Notes ===
{{Caption|The same objects with the 'Shaded' draw style applied}}


<div class="mw-translate-fuzzy">
* The "Flat lines" style gives a solid color to the edges, and the faces are differently illuminated depending on the orientation of the view.
===[[Image:Std_DrawStyleFlatLines.svg|16px]] Facce piene===
* 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.
</div>
* 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 {{PropertyView|Point 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.


The '''Flat lines''' style overrides the {{PropertyView|Display Mode}} of objects. This style matches the 'Flat lines' Display Mode. Vertices and edges are displayed in solid colors. Faces are illuminated depending on their orientation.
== Scripting ==


[[Image:Std_DrawStyleFlatLines_example.png]]
The draw style can be set from the [[Python console|Python console]].
{{Caption|The same objects with the 'Flat lines' draw style applied}}


==Note==
The argument to the {{incode|"Std_DrawStyle"}} command determines the style.
* {{incode|0}}, As is
* {{incode|1}}, Flat lines
* {{incode|2}}, Shaded
* {{incode|3}}, Wireframe
* {{incode|4}}, Points
* {{incode|5}}, Hidden line
* {{incode|6}}, No shading


<div class="mw-translate-fuzzy">
{{Code|code=
* Lo stile "Linee e facce piene" conferisce un colore uniforme ai bordi e le facce sono illuminate in modo diverso a seconda dell'orientamento della vista.
import FreeCADGui as Gui
* Lo stile "Ombreggiato" rimuove il colore dei bordi. Questo stile è migliore quando si visualizzano oggetti con molte facce con le normali orientate in direzioni diverse, in particolare direzioni diverse dagli assi X, Y e Z.
* Lo stile "Reticolo" rimuove il colore delle facce, lasciando solo i bordi e i vertici. Ciò si traduce in una modalità trasparente, quindi è possibile vedere oggetti che sono completamente o parzialmente nascosti da altri oggetti.
* Lo stile "Punti" mostra solo i vertici in cui due bordi si collegano. Per i solidi costituiti da forme relativamente semplici, verranno visualizzati solo alcuni vertici. Questo stile è migliore quando si visualizzano mesh, poiché in questo caso in genere ci sono molti vertici. Per migliorare la visibilità, con questo stile potrebbe essere utile aumentare il valore di {{PropertyView|Point Size}}.
* Lo stile "Linee nascoste" mostra le facce triangolari e i loro bordi come se gli oggetti fossero convertiti in mesh triangolari.
* Lo stile "Senza ombre" conferisce un colore uniforme ai bordi e tutte le facce sono ugualmente illuminate indipendentemente dall'orientamento della vista.
</div>


{{Docnav/it
Gui.runCommand('Std_DrawStyle', 0)
|[[Std_FreezeViews/it|Viste bloccate ]]
Gui.runCommand('Std_DrawStyle', 1)
|[[Std_SelBoundingBox/it|Box contenitore]]
Gui.runCommand('Std_DrawStyle', 2)
|[[Std_View_Menu/it|Menu Visualizza]]
Gui.runCommand('Std_DrawStyle', 3)
|IconL=
Gui.runCommand('Std_DrawStyle', 4)
|IconR=Std_SelBoundingBox.svg
Gui.runCommand('Std_DrawStyle', 5)
|IconC=Freecad.svg
Gui.runCommand('Std_DrawStyle', 6)
}}
}}


{{Std Base}}
{{Std Base navi{{#translation:}}}}
{{Userdocnavi}}
{{Userdocnavi{{#translation:}}}}
{{clear}}
{{clear}}

Revision as of 06:28, 3 May 2020

Other languages:

Stile di disegno

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

Descrizione

Il comando Std DrawStyle può sovrascrivere l'effetto delle proprietà che definiscono la Vistamodalità di visualizzazione degli oggetti nella vista 3D.

Utilizzo

  1. Esistono diversi modi per invocare il comando:
    • Fare clic sulla freccia nera verso il basso a destra del pulsante Stile di disegno e selezionare uno stile dal riquadro a comparsa. Notare: l'immagine del pulsante cambia per riflettere lo stile di disegno corrente del documento attivo.
    • Andare nel menu Visualizza → Stile di disegno e scegliere uno stile.
    • Nel menu contestuale Vista 3D andare in Stile di disegno e selezionare uno stile.
    • Usare una delle scorciatoie da tastiera: V e poi 1, 2, 3, 4, 5, 6 o 7.

Available draw styles

Come è

The As is style does not override the VistaDisplay Mode of objects.

4 identical objects each with a different Display Mode (from left to right: 'Points', 'Wireframe', 'Shaded' and 'Flat lines') with the 'As is' draw style applied

Punti

The Points style overrides the VistaDisplay Mode of objects. This style matches the 'Points' Display Mode. Vertices are displayed in solid colors. Edges and faces are not displayed.

The same objects with the 'Points' draw style applied

Reticolo

The Wireframe style overrides the VistaDisplay Mode of objects. This style matches the 'Wireframe' Display Mode. Vertices and edges are displayed in solid colors. Faces are not displayed.

The same objects with the 'Wireframe' draw style applied

Linee nascoste

The Hidden line style overrides the VistaDisplay Mode of objects. Objects are displayed as if converted to triangular meshes.

The same objects with the 'Hidden line' draw style applied

Senza ombre

The No shading style overrides the VistaDisplay Mode of objects. Vertices, edges and faces are displayed in solid colors.

The same objects with the 'No shading' draw style applied

Ombreggiato

The Shaded style overrides the VistaDisplay Mode of objects. This style matches the 'Shaded' Display Mode. Vertices and edges are not displayed. Faces are illuminated depending on their orientation.

The same objects with the 'Shaded' draw style applied

Facce piene

The Flat lines style overrides the VistaDisplay Mode of objects. This style matches the 'Flat lines' Display Mode. Vertices and edges are displayed in solid colors. Faces are illuminated depending on their orientation.

The same objects with the 'Flat lines' draw style applied

Note

  • Lo stile "Linee e facce piene" conferisce un colore uniforme ai bordi e le facce sono illuminate in modo diverso a seconda dell'orientamento della vista.
  • Lo stile "Ombreggiato" rimuove il colore dei bordi. Questo stile è migliore quando si visualizzano oggetti con molte facce con le normali orientate in direzioni diverse, in particolare direzioni diverse dagli assi X, Y e Z.
  • Lo stile "Reticolo" rimuove il colore delle facce, lasciando solo i bordi e i vertici. Ciò si traduce in una modalità trasparente, quindi è possibile vedere oggetti che sono completamente o parzialmente nascosti da altri oggetti.
  • Lo stile "Punti" mostra solo i vertici in cui due bordi si collegano. Per i solidi costituiti da forme relativamente semplici, verranno visualizzati solo alcuni vertici. Questo stile è migliore quando si visualizzano mesh, poiché in questo caso in genere ci sono molti vertici. Per migliorare la visibilità, con questo stile potrebbe essere utile aumentare il valore di VistaPoint Size.
  • Lo stile "Linee nascoste" mostra le facce triangolari e i loro bordi come se gli oggetti fossero convertiti in mesh triangolari.
  • Lo stile "Senza ombre" conferisce un colore uniforme ai bordi e tutte le facce sono ugualmente illuminate indipendentemente dall'orientamento della vista.