Std ViewRear: Difference between revisions

From FreeCAD Documentation
m (Add {{StdMenu}})
No edit summary
Line 45: Line 45:
<translate>
<translate>


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

Revision as of 21:58, 23 March 2020

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.

Usage

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