Std ViewLeft: Difference between revisions

From FreeCAD Documentation
m (Add {{StdMenu}})
m (moved templates out of translation tags + Added {{KEY}})
Line 6: Line 6:
|MenuLocation={{StdMenu|[[Std View Menu|View]]}} → Standard views → Left
|MenuLocation={{StdMenu|[[Std View Menu|View]]}} → Standard views → Left
|Workbenches=All
|Workbenches=All
|Shortcut=6
|Shortcut={{KEY|6}}
|SeeAlso=[[Std_ViewRear|ViewRear]], [[Std_ViewBottom|ViewBottom]]
|SeeAlso=[[Std_ViewRear|ViewRear]], [[Std_ViewBottom|ViewBottom]]
}}
}}
Line 45: Line 45:
<translate>
<translate>


<!--T:10-->
{{Std Base navi}}
{{Userdocnavi}}
</translate>
</translate>
{{clear}}
{{clear}}
{{Std Base navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}

Revision as of 06:32, 20 February 2020

Std ViewLeft

Menu location
View → Standard views → Left
Workbenches
All
Default shortcut
6
Introduced in version
-
See also
ViewRear, ViewBottom

Description

Std ViewLeft puts the camera in the 3D view looking from the left, towards the right, in the direction of the positive X axis, [1.0, 0.0, 0.0].

The left view sets the camera looking right, in the direction of the positive X axis.

Usage

  • Go to the menu View → Standard views → Left.
  • Or press the Left button.
  • Or press 6 in the numerical pad of the keyboard.

Scripting

The left 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.viewLeft()

Gui.ActiveDocument.ActiveView.getViewDirection()