Std ViewLeft: Difference between revisions

From FreeCAD Documentation
(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].)
 
(→‎Description: File:FreeCAD_views_rear.svg)
Line 14: Line 14:


</translate>
</translate>
[[File:FreeCAD_views_front.svg]]
[[File:FreeCAD_views_rear.svg]]
<translate>
<translate>
{{Caption|The left view sets the camera looking right, in the direction of the positive X axis.}}
{{Caption|The left view sets the camera looking right, in the direction of the positive X axis.}}

Revision as of 07:57, 24 November 2019

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.

How to use

  • 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()