Std ViewIsometric: Difference between revisions

From FreeCAD Documentation
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 48: Line 48:


<!--T:9-->
<!--T:9-->
To change to isometric view use the {{incode|viewIsometric}} method of the ActiveView object. This method is not available if FreeCAD is in console mode.
Use the {{incode|viewIsometric}} method of the View object to change to isometric view. The {{incode|viewDimetric}} and {{incode|viewTrimetric}} methods are also available.


</translate>
</translate>
Line 56: Line 56:
view = FreeCADGui.ActiveDocument.ActiveView
view = FreeCADGui.ActiveDocument.ActiveView
view.viewIsometric()
view.viewIsometric()
view.getViewDirection()
}}
}}
<translate>
<translate>

Latest revision as of 18:19, 9 July 2024

Std ViewIsometric

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

Description

The Std ViewIsometric command realigns the camera in the active 3D view to obtain an isometric view. For a truly isometric view the 3D view must be in orthographic mode, but the command also works if the view is in perspective mode.

The axis cross and a cube in isometric view

Usage

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

Scripting

See also: Autogenerated API documentation and FreeCAD Scripting Basics.

Use the viewIsometric method of the View object to change to isometric view. The viewDimetric and viewTrimetric methods are also available.

import FreeCADGui

view = FreeCADGui.ActiveDocument.ActiveView
view.viewIsometric()