Std ViewTrimetric: Difference between revisions

From FreeCAD Documentation
No edit summary
mNo edit summary
 
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{Page in progress}}

<translate>
<translate>


<!--T:10-->
{{Docnav
{{Docnav
|[[Std_ViewDimetric|Std ViewDimetric]]
|[[Std_ViewDimetric|ViewDimetric]]
|[[Std_ViewHome|ViewHome]]
|[[Std_ViewFront|Std ViewFront]]
|[[Std_View_Menu|Std View Menu]]
|[[Std_View_Menu|Std View Menu]]
|IconL=
|IconL=Std_ViewDimetric.svg
|IconR=Std_ViewFront.svg
|IconR=Std_ViewHome.svg
|IconC=Freecad.svg
|IconC=Freecad.svg
}}
}}
Line 19: Line 17:
|MenuLocation=View → Standard views → Axonometric → Trimetric
|MenuLocation=View → Standard views → Axonometric → Trimetric
|Workbenches=All
|Workbenches=All
|SeeAlso=[[Std_ViewIsometric|Std ViewIsometric]], [[Std_ViewDimetric|Std ViewDimetric]], [[Std_OrthographicCamera|Std OrthographicCamera]], [[Std_PerspectiveCamera|Std PerspectiveCamera]]
|SeeAlso=[[Std_ViewIsometric|Std ViewIsometric]], [[Std_ViewDimetric|Std ViewDimetric]]
}}
}}


Line 25: Line 23:


<!--T:3-->
<!--T:3-->
The '''Std ViewTrimetric''' command changes the view direction of the active [[3D_view|3D view]] to obtain a [https://en.wikipedia.org/wiki/Axonometric_projection#Three_types trimetric] view. But the view will only be trimetric if it is in [[Std_OrthographicCamera|orthographic mode]].
The '''Std ViewTrimetric''' command realigns the camera in the active [[3D_view|3D view]] to obtain a [https://en.wikipedia.org/wiki/Axonometric_projection#Three_types trimetric] view. For a truly trimetric 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>
</translate>
[[Image:Std_ViewTrimetric_example.svg]]
[[Image:Std_ViewTrimetric_example.svg]]
<translate>
<translate>
<!--T:11-->
{{Caption|The [[Std_AxisCross|axis cross]] and a cube in trimetric view}}
{{Caption|The [[Std_AxisCross|axis cross]] and a cube in trimetric view}}


Line 35: Line 34:


<!--T:5-->
<!--T:5-->
# Select the {{MenuCommand|View → Standard views → Axonometric → Trimetric}} option from the menu.
# Select the {{MenuCommand|View → Standard views → Axonometric → [[Image:Std_ViewTrimetric.svg|16px]] Trimetric}} option from the menu.


==Scripting== <!--T:6-->
==Scripting== <!--T:6-->
Line 43: Line 42:


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


</translate>
</translate>
Line 54: Line 53:
<translate>
<translate>



<!--T:12-->
{{Docnav
{{Docnav
|[[Std_ViewDimetric|ViewDimetric]]
|[[Std_ViewCreate|Std ViewCreate]]
|[[Std_ViewHome|ViewHome]]
|[[Std_PerspectiveCamera|Std PerspectiveCamera]]
|[[Std_View_Menu|Std View Menu]]
|[[Std_View_Menu|Std View Menu]]
|IconL=Std_ViewCreate.svg
|IconL=Std_ViewDimetric.svg
|IconR=Std_PerspectiveCamera.svg
|IconR=Std_ViewHome.svg
|IconC=Freecad.svg
|IconC=Freecad.svg
}}
}}

Latest revision as of 14:52, 6 January 2021

Std ViewTrimetric

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

Description

The Std ViewTrimetric command realigns the camera in the active 3D view to obtain a trimetric view. For a truly trimetric 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 trimetric view

Usage

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

Scripting

See also: FreeCAD Scripting Basics.

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

import FreeCADGui

FreeCADGui.ActiveDocument.ActiveView.viewTrimetric()
FreeCADGui.ActiveDocument.ActiveView.getViewDirection()