Std ViewDimetric: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
Line 43: Line 43:


<!--T:8-->
<!--T:8-->
To change the active view to dimetric view use the {{incode|viewDimetric}} method of the ActiveView object. This method is not available if FreeCAD is in console mode.
To change to dimetric view use the {{incode|viewDimetric}} method of the ActiveView object. This method is not available if FreeCAD is in console mode.


</translate>
</translate>

Revision as of 22:50, 27 March 2020

This documentation is a work in progress. Please don't mark it as translatable since it will change in the next hours and days.


Std ViewDimetric

Menu location
View → Standard views → Axonometric → Dimetric
Workbenches
All
Default shortcut
None
Introduced in version
-
See also
Std ViewIsometric, Std ViewTrimetric

Description

The Std ViewDimetric command changes the view direction of the active 3D view to obtain a dimetric view. But the view will only be dimetric if it is in orthographic mode.

The axis cross and a cube in dimetric view

Usage

  1. Select the View → Standard views → Axonometric → Dimetric option from the menu.

Scripting

See also: FreeCAD Scripting Basics.

To change to dimetric view use the viewDimetric method of the ActiveView object. This method is not available if FreeCAD is in console mode.

import FreeCADGui

FreeCADGui.ActiveDocument.ActiveView.viewDimetric()
FreeCADGui.ActiveDocument.ActiveView.getViewDirection()