Std DrawStyle

From FreeCAD Documentation
Jump to navigation Jump to search

Std DrawStyle.svg 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 DrawStyleAsIs.svg 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

Std DrawStyleAsIs.svg As is

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

Std DrawStyleAsIs example.png

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

Std DrawStylePoints.svg 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.

Std DrawStylePoints example.png

The same objects with the 'Points' draw style applied

Std DrawStyleWireFrame.svg 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.

Std DrawStyleWireframe example.png

The same objects with the 'Wireframe' draw style applied

Std DrawStyleHiddenLine.svg Hidden line

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

Std DrawStyleHiddenLine example.png

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

Std DrawStyleNoShading.svg No shading

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

Std DrawStyleNoShading example.png

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

Std DrawStyleShaded.svg 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.

Std DrawStyleShaded example.png

The same objects with the 'Shaded' draw style applied

Std DrawStyleFlatLines.svg 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.

Std DrawStyleFlatLines example.png

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.