Std ViewTrimetric: Difference between revisions

From FreeCAD Documentation
(Std ViewTrimetric command puts the camera in the 3D view in axonometric trimetric projection, with a view direction [-0.4095, 0.7094, -0.5735].)
 
m (Add {{StdMenu}})
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
<translate>
<translate>
<!--T:1-->
{{GuiCommand
{{GuiCommand
|Name=Std ViewTrimetric
|Name=Std ViewTrimetric
|MenuLocation=[[Std View Menu|View]] → Standard views → Axonometric → Trimetric
|MenuLocation={{StdMenu|[[Std View Menu|View]]}} → Standard views → Axonometric → Trimetric
|Workbenches=All
|Workbenches=All
|SeeAlso=[[Std_ViewIsometric|ViewIsometric]], [[Std_ViewDimetric|ViewDimetric]]
|SeeAlso=[[Std_ViewIsometric|ViewIsometric]], [[Std_ViewDimetric|ViewDimetric]]
|Empty=1
}}
}}


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


<!--T:3-->
[[Std_ViewTrimetric|Std ViewTrimetric]] command puts the camera in the [[3D view|3D view]] in [https://en.wikipedia.org/wiki/Axonometric_projection#Three_types axonometric trimetric] projection, with a view direction {{incode|[-0.4095, 0.7094, -0.5735]}}.
[[Std_ViewTrimetric|Std ViewTrimetric]] command puts the camera in the [[3D view|3D view]] in [https://en.wikipedia.org/wiki/Axonometric_projection#Three_types axonometric trimetric] projection, with a view direction {{incode|[-0.4095, 0.7094, -0.5735]}}.


Line 16: Line 19:
<translate>
<translate>


==Usage== <!--T:4-->
==How to use==


<!--T:5-->
* Go to the menu {{MenuCommand|View → Standard views → Axonometric → [[Std_ViewTrimetric|Trimetric]]}}.
* Go to the menu {{MenuCommand|{{StdMenu|[[Std View Menu|View]]}} → Standard views → Axonometric → [[Std_ViewTrimetric|Trimetric]]}}.


== Scripting ==
== Scripting == <!--T:6-->


<!--T:7-->
The trimetric view can be set from the [[Python console|Python console]].
The trimetric view can be set from the [[Python console|Python console]].


<!--T:8-->
It is a method of the {{incode|ActiveView}} of the {{incode|ActiveDocument}}. The {{incode|ActiveView}} only exists when the graphical interface is available; it does not exist when FreeCAD is used in purely console mode.
It is a method of the {{incode|ActiveView}} of the {{incode|ActiveDocument}}. The {{incode|ActiveView}} only exists when the graphical interface is available; it does not exist when FreeCAD is used in purely console mode.


Line 35: Line 41:
<translate>
<translate>


<!--T:9-->
{{Std Base}}
{{Std Base navi}}
{{Userdocnavi}}
{{Userdocnavi}}
</translate>
</translate>

Revision as of 03:39, 19 February 2020

Std ViewTrimetric

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

Description

Std ViewTrimetric command puts the camera in the 3D view in axonometric trimetric projection, with a view direction [-0.4095, 0.7094, -0.5735].

Usage

  • Go to the menu View → Standard views → Axonometric → Trimetric.

Scripting

The trimetric view can be set from the Python console.

It is a method of the ActiveView of the ActiveDocument. The ActiveView only exists when the graphical interface is available; it does not exist when FreeCAD is used in purely console mode.

import FreeCADGui as Gui
Gui.ActiveDocument.ActiveView.viewTrimetric()

Gui.ActiveDocument.ActiveView.getViewDirection()