Std ViewIsometric: Difference between revisions

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


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


</translate>
</translate>

Revision as of 09:57, 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 ViewIsometric

Menu location
View → Standard views → Axonometric → Isometric
Workbenches
All
Default shortcut
0
Introduced in version
-
See also
Std ViewDimetric, Std ViewTrimetric, Std OrthographicCamera, Std PerspectiveCamera

Description

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

The axis cross and a cube in isometric view

Usage

  1. There are several ways to invoke the command:
    • Press the Std ViewIsometric button.
    • Select the View → Standard views → Axonometric → Isometric option from the menu.
    • Select the Standard views → Isometric option from the 3D view context menu.
    • Use the keyboard shortcut: 0.

Scripting

See also: FreeCAD Scripting Basics.

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

import FreeCADGui

FreeCADGui.ActiveDocument.ActiveView.viewIsometric()
FreeCADGui.ActiveDocument.ActiveView.getViewDirection()