Std ViewRear: 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:5-->
{{GuiCommand
{{GuiCommand
|Name=Std ViewRear
|Name=Std ViewRear
Line 9: Line 10:
}}
}}


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


<!--T:7-->
[[Std_ViewRear|Std ViewRear]] puts the camera in the [[3D view|3D view]] looking towards the front from the back, in the direction of the negative Y axis, {{incode|[0.0, -1.0, 0.0]}}.
[[Std_ViewRear|Std ViewRear]] puts the camera in the [[3D view|3D view]] looking towards the front from the back, in the direction of the negative Y axis, {{incode|[0.0, -1.0, 0.0]}}.


Line 19: Line 21:
{{Caption|The rear view sets the camera looking to the front, in the direction of the negative Y axis.}}
{{Caption|The rear view sets the camera looking to the front, in the direction of the negative Y axis.}}


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


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


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


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


<!--T:12-->
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 40: Line 45:
<translate>
<translate>


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

Revision as of 15:45, 24 November 2019

Std ViewRear

Menu location
View → Standard views → Rear
Workbenches
All
Default shortcut
4
Introduced in version
-
See also
ViewBottom, ViewLeft

Description

Std ViewRear puts the camera in the 3D view looking towards the front from the back, in the direction of the negative Y axis, [0.0, -1.0, 0.0].

The rear view sets the camera looking to the front, in the direction of the negative Y axis.

How to use

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

Scripting

The rear 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.viewRear()

Gui.ActiveDocument.ActiveView.getViewDirection()