Std DrawStyle: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
 
(13 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{Page in progress}}

<translate>
<translate>


<!--T:14-->
{{Docnav
{{Docnav
|[[Std_FreezeViews|Std FreezeViews]]
|[[Std_FreezeViews|FreezeViews]]
|[[Std_SelBoundingBox|Std SelBoundingBox]]
|[[Std_SelBoundingBox|SelBoundingBox]]
|[[Std_View_Menu|Std View Menu]]
|[[Std_View_Menu|Std View Menu]]
|IconL=
|IconL=
Line 26: Line 24:


<!--T:3-->
<!--T:3-->
The '''Std DrawStyle''' command can override the effect of the {{PropertyView|Display Mode}} [[Property editor|property]] of objects in a 3D view.
The '''Std DrawStyle''' command can override the effect of the {{PropertyView|Display Mode}} [[Property_editor|property]] of objects in a [[3D_view|3D view]].


==Usage== <!--T:5-->
==Usage== <!--T:5-->
Line 32: Line 30:
<!--T:6-->
<!--T:6-->
# There are several ways to invoke the command:
# There are several ways to invoke the command:
#* Click on the black down arrow to the right of the {{Button|[[Image:DrawStyleAsIs.svg|16px]] [[Std_DrawStyle|Std DrawStyle]]}} button and select a style from the flyout. Note: the button image will change to reflect the active document’s draw style.
#* Click on the black down arrow to the right of the {{Button|[[Image:Std_DrawStyleAsIs.svg|16px]] [[Std_DrawStyle|Std DrawStyle]]}} button and select a style from the flyout.
#* In the menu go to {{MenuCommand|View → Draw style}} and select a style.
#* In the menu go to {{MenuCommand|View → Draw style}} and select a style.
#* In the [[3D_view|3D view]] context menu go to {{MenuCommand|Draw style}} and select a style.
#* In the [[3D_view|3D view]] context menu go to {{MenuCommand|Draw style}} and select a style.
#* Use one of the keyboard shortcut: {{KEY|V}} then {{KEY|1}}, {{KEY|2}}, {{KEY|3}}, {{KEY|4}}, {{KEY|5}}, {{KEY|6}} or {{KEY|7}}.
#* Use one of the keyboard shortcut: {{KEY|V}} then {{KEY|1}}, {{KEY|2}}, {{KEY|3}}, {{KEY|4}}, {{KEY|5}}, {{KEY|6}} or {{KEY|7}}.


==Available draw styles==
==Available draw styles== <!--T:15-->


===[[Image:DrawStyleAsIs.svg|16px]] As is===
===[[Image:Std_DrawStyleAsIs.svg|24px]] As is=== <!--T:16-->


<!--T:17-->
The '''As is''' style does not override the {{PropertyView|Display Mode}} of objects.
The '''As is''' style does not override the {{PropertyView|Display Mode}} of objects.


Line 46: Line 45:
[[Image:Std_DrawStyleAsIs_example.png]]
[[Image:Std_DrawStyleAsIs_example.png]]
<translate>
<translate>
<!--T:18-->
{{Caption|4 identical objects each with a different Display Mode, {{incode|Points}}, {{incode|Wireframe}}, {{incode|Shaded}} and {{incode|Flat lines}} (left to right), with the {{incode|As is}} draw style applied}}
{{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}}


===[[Image:DrawStylePoints.svg|16px]] Points===
===[[Image:Std_DrawStylePoints.svg|24px]] Points=== <!--T:19-->


<!--T:20-->
The '''Points''' style overrides the {{PropertyView|Display Mode}} of objects. This style matches the {{incode|Points}} Display Mode. Vertices are displayed in solid colors. Edges and faces are not displayed.
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.


</translate>
</translate>
[[Image:Std_DrawStylePoints_example.png]]
[[Image:Std_DrawStylePoints_example.png]]
<translate>
<translate>
<!--T:21-->
{{Caption|The same objects with the {{incode|Points}} draw style applied}}
{{Caption|The same objects with the 'Points' draw style applied}}


===[[Image:DrawStyleWireFrame.svg|16px]] Wireframe===
===[[Image:Std_DrawStyleWireFrame.svg|24px]] Wireframe=== <!--T:22-->


<!--T:23-->
The '''Wireframe''' style overrides the {{PropertyView|Display Mode}} of objects. This style matches the {{incode|Wireframe}} Display Mode. Vertices and edges are displayed in solid colors. Faces are not displayed.
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.


</translate>
</translate>
[[Image:Std_DrawStyleWireframe_example.png]]
[[Image:Std_DrawStyleWireframe_example.png]]
<translate>
<translate>
<!--T:24-->
{{Caption|The same objects with the {{incode|Wireframe}} draw style applied}}
{{Caption|The same objects with the 'Wireframe' draw style applied}}


===[[Image:DrawStyleHiddenLine.svg|16px]] Hidden line===
===[[Image:Std_DrawStyleHiddenLine.svg|24px]] Hidden line=== <!--T:25-->


<!--T:26-->
The '''Hidden line''' style overrides the {{PropertyView|Display Mode}} of objects. Objects are displayed as if converted to triangular meshes.
The '''Hidden line''' style overrides the {{PropertyView|Display Mode}} of objects. Objects are displayed as if converted to triangular meshes.


Line 73: Line 78:
[[Image:Std_DrawStyleHiddenLine_example.png]]
[[Image:Std_DrawStyleHiddenLine_example.png]]
<translate>
<translate>
<!--T:27-->
{{Caption|The same objects with the {{incode|Hidden line}} draw style applied}}
{{Caption|The same objects with the 'Hidden line' draw style applied}}


===[[Image:DrawStyleNoShading.svg|16px]] No shading===
===[[Image:Std_DrawStyleNoShading.svg|24px]] No shading=== <!--T:28-->


<!--T:29-->
The '''No shading''' style overrides the {{PropertyView|Display Mode}} of objects. Vertices, edges and faces are displayed in solid colors.
The '''No shading''' style overrides the {{PropertyView|Display Mode}} of objects. Vertices, edges and faces are displayed in solid colors.


Line 82: Line 89:
[[Image:Std_DrawStyleNoShading_example.png]]
[[Image:Std_DrawStyleNoShading_example.png]]
<translate>
<translate>
<!--T:30-->
{{Caption|The same objects with the {{incode|No shading}} draw style applied}}
{{Caption|The same objects with the 'No shading' draw style applied}}


===[[Image:DrawStyleShaded.svg|16px]] Shaded===
===[[Image:Std_DrawStyleShaded.svg|24px]] Shaded=== <!--T:31-->


<!--T:32-->
The '''Shaded''' style overrides the {{PropertyView|Display Mode}} of objects. This style matches the {{incode|Shaded}} Display Mode. Vertices and edges are not displayed. Faces are illuminated depending on their orientation.
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.


</translate>
</translate>
[[Image:Std_DrawStyleShaded_example.png]]
[[Image:Std_DrawStyleShaded_example.png]]
<translate>
<translate>
<!--T:33-->
{{Caption|The same objects with the {{incode|Shaded}} draw style applied}}
{{Caption|The same objects with the 'Shaded' draw style applied}}


===[[Image:DrawStyleFlatLines.svg|16px]] Flat lines===
===[[Image:Std_DrawStyleFlatLines.svg|24px]] Flat lines=== <!--T:34-->


<!--T:35-->
The '''Flat lines''' style overrides the {{PropertyView|Display Mode}} of objects. This style matches the {{incode|Flat lines}} Display Mode. Vertices and edges are displayed in solid colors. Faces are illuminated depending on their orientation.
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.


</translate>
</translate>
[[Image:Std_DrawStyleFlatLines_example.png]]
[[Image:Std_DrawStyleFlatLines_example.png]]
<translate>
<translate>
<!--T:36-->
{{Caption|The same objects with the {{incode|Flat lines}} draw style applied}}
{{Caption|The same objects with the 'Flat lines' draw style applied}}


==Notes== <!--T:8-->
==Notes== <!--T:8-->


<!--T:9-->
<!--T:9-->
* Objects in the [[3D_view|3D view]] also have a {{PropertyView|Draw Style}} property. This property controls the linetype used for the edges. The Std DrawStyle command does not override this property.
* Objects in a [[3D_view|3D view]] also have a {{PropertyView|Draw Style}} property. This property controls the linetype used for the edges. The Std DrawStyle command does not override this property.
* For a macro to toggle between two draw styles see: [[Macro_Toggle_Drawstyle|Macro Toggle Drawstyle]].
* For a macro to toggle between two draw styles see: [[Macro_Toggle_Drawstyle|Macro Toggle Drawstyle]].


<!--T:37-->
{{Docnav
{{Docnav
|[[Std_FreezeViews|Std FreezeViews]]
|[[Std_FreezeViews|FreezeViews]]
|[[Std_SelBoundingBox|Std SelBoundingBox]]
|[[Std_SelBoundingBox|SelBoundingBox]]
|[[Std_View_Menu|Std View Menu]]
|[[Std_View_Menu|Std View Menu]]
|IconL=
|IconL=
Line 121: Line 134:
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}
{{clear}}

[[Category:Sandbox]]

Latest revision as of 20:36, 19 January 2023

Std DrawStyle

Menu location
View → Draw style → ...
Workbenches
All
Default shortcut
V 1 - V 7
Introduced in version
-
See also
Std SelBoundingBox

Description

The Std DrawStyle command can override the effect of the ViewDisplay Mode property of objects in a 3D view.

Usage

  1. There are several ways to invoke the command:
    • Click on the black down arrow to the right of the Std DrawStyle button and select a style from the flyout.
    • In the menu go to View → Draw style and select a style.
    • In the 3D view context menu go to Draw style and select a style.
    • Use one of the keyboard shortcut: V then 1, 2, 3, 4, 5, 6 or 7.

Available draw styles

As is

The As is style does not override the ViewDisplay 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

Points

The Points style overrides the ViewDisplay 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

Wireframe

The Wireframe style overrides the ViewDisplay 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

Hidden line

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

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

No shading

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

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

Shaded

The Shaded style overrides the ViewDisplay 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

Flat lines

The Flat lines style overrides the ViewDisplay 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

Notes

  • Objects in a 3D view also have a ViewDraw Style property. This property controls the linetype used for the edges. The Std DrawStyle command does not override this property.
  • For a macro to toggle between two draw styles see: Macro Toggle Drawstyle.