Std ViewIsometric: Difference between revisions

From FreeCAD Documentation
(Puts the camera in the 3D view in axonometric isometric view.)
 
(Mini-cube menu now calls this command.)
 
(29 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
<translate>
<translate>

<!--T:11-->
{{Docnav
|[[Std_ViewFitSelection|ViewFitSelection]]
|[[Std_ViewDimetric|ViewDimetric]]
|[[Std_View_Menu|Std View Menu]]
|IconL=Std_ViewFitSelection.svg
|IconR=Std_ViewDimetric.svg
|IconC=Freecad.svg
}}

<!--T:1-->
{{GuiCommand
{{GuiCommand
|Name=Std ViewIsometric
|Name=Std ViewIsometric
|MenuLocation=[[Std View Menu|View]] → Standard views → Axonometric → Isometric
|MenuLocation=View → Standard views → Axonometric → Isometric
|Workbenches=All
|Workbenches=All
|Shortcut=0
|Shortcut={{KEY|0}}
|SeeAlso=[[Std_ViewDimetric|Std ViewDimetric]], [[Std_ViewTrimetric|Std ViewTrimetric]]
|SeeAlso=[[Std_OrthographicCamera|Orthographic camera]]
}}
}}


==Description==
==Description== <!--T:2-->


<!--T:3-->
Puts the camera in the [[3D view|3D view]] in axonometric isometric view.
The '''Std ViewIsometric''' command realigns the camera in the active [[3D_view|3D view]] to obtain an [https://en.wikipedia.org/wiki/Isometric_projection isometric] view. For a truly isometric view the 3D view must be in [[Std_OrthographicCamera|orthographic mode]], but the command also works if the view is in [[Std_PerspectiveCamera|perspective mode]].


</translate>
[[Image:Orthographic_Perspective.gif]]
[[Image:Std_ViewIsometric_example.svg]]
<translate>
<!--T:4-->
{{Caption|The [[Std_AxisCross|axis cross]] and a cube in isometric view}}


==Usage== <!--T:5-->
{{Caption|Perspective on the left, orthographic on the right.}}


<!--T:6-->
==How to use==
# There are several ways to invoke the command:
#* Press the {{Button|[[Image:Std_ViewIsometric.svg|16px]] [[Std_ViewIsometric|Std ViewIsometric]]}} button.
#* Select the {{MenuCommand|View → Standard views → Axonometric → [[Image:Std_ViewIsometric.svg|16px]] Isometric}} option from the menu.
#* Select the {{MenuCommand|Standard views → [[Image:Std_ViewIsometric.svg|16px]] Isometric}} option from the [[3D_view|3D view]] context menu.
#* Select the {{MenuCommand|[[Image:Std_ViewIsometric.svg|16px]] Isometric}} option from the Mini-cube menu of the [[Navigation_Cube|Navigation Cube]].
#* Use the keyboard shortcut: {{KEY|0}}.


==Scripting== <!--T:7-->
# Go to the menu {{MenuCommand|View → Standard views → Axonometric → [[File:Std_ViewIsometric.svg|16px]] [[Std_ViewIsometric|Isometric]]}}.

# Or press the {{Button|[[File:Std_ViewIsometric.svg|16px]] [[Std_ViewIsometric|Isometric]]}} button.
<!--T:8-->
{{Emphasis|See also:}} [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].

<!--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.

</translate>
{{Code|code=
import FreeCADGui

FreeCADGui.ActiveDocument.ActiveView.viewIsometric()
FreeCADGui.ActiveDocument.ActiveView.getViewDirection()
}}
<translate>


<!--T:14-->
{{Docnav
|[[Std_ViewFitSelection|ViewFitSelection]]
|[[Std_ViewDimetric|ViewDimetric]]
|[[Std_View_Menu|Std View Menu]]
|IconL=Std_ViewFitSelection.svg
|IconR=Std_ViewDimetric.svg
|IconC=Freecad.svg
}}


{{Std Base}}
{{Userdocnavi}}
</translate>
</translate>
{{Std Base navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}
{{clear}}

Latest revision as of 09:53, 7 June 2023

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 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.
    • Select the Isometric option from the Mini-cube menu of the Navigation Cube.
    • Use the keyboard shortcut: 0.

Scripting

See also: FreeCAD Scripting Basics.

To change to isometric view 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()