Std ViewLeft: Difference between revisions

From FreeCAD Documentation
(→‎Description: File:FreeCAD_views_rear.svg)
(Marked this version for translation)
Line 1: Line 1:
<languages/>
<languages/>
<translate>
<translate>
<!--T:1-->
{{GuiCommand
{{GuiCommand
|Name=Std ViewLeft
|Name=Std ViewLeft
Line 9: Line 10:
}}
}}


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


<!--T:3-->
[[Std_ViewLeft|Std ViewLeft]] puts the camera in the [[3D view|3D view]] looking from the left, towards the right, in the direction of the positive X axis, {{incode|[1.0, 0.0, 0.0]}}.
[[Std_ViewLeft|Std ViewLeft]] puts the camera in the [[3D view|3D view]] looking from the left, towards the right, in the direction of the positive X axis, {{incode|[1.0, 0.0, 0.0]}}.


Line 16: Line 18:
[[File:FreeCAD_views_rear.svg]]
[[File:FreeCAD_views_rear.svg]]
<translate>
<translate>
<!--T:4-->
{{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.}}


==How to use==
==How to use== <!--T:5-->


<!--T:6-->
* Go to the menu {{MenuCommand|View → Standard views → [[File:Std_ViewLeft.svg|16px]] [[Std_ViewLeft|Left]]}}.
* Go to the menu {{MenuCommand|View → Standard views → [[File:Std_ViewLeft.svg|16px]] [[Std_ViewLeft|Left]]}}.
* Or press the {{Button|[[File:Std_ViewLeft.svg|16px]] [[Std_ViewLeft|Left]]}} button.
* Or press the {{Button|[[File:Std_ViewLeft.svg|16px]] [[Std_ViewLeft|Left]]}} button.
* Or press {{KEY|6}} in the numerical pad of the keyboard.
* Or press {{KEY|6}} in the numerical pad of the keyboard.


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


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


<!--T:9-->
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 39: Line 45:
<translate>
<translate>


<!--T:10-->
{{Std Base}}
{{Std Base}}
{{Userdocnavi}}
{{Userdocnavi}}

Revision as of 15:44, 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()