Difference between revisions of "Std ViewFront"

From FreeCAD Documentation
Jump to navigation Jump to search
(Marked this version for translation)
({{Std Base navi}} to categorize page)
Line 46: Line 46:
  
 
<!--T:13-->
 
<!--T:13-->
{{Std Base}}
+
{{Std Base navi}}
 
{{Userdocnavi}}
 
{{Userdocnavi}}
 
</translate>
 
</translate>
 
{{clear}}
 
{{clear}}

Revision as of 06:28, 14 January 2020

Other languages:
Deutsch • ‎English • ‎français • ‎italiano

Std ViewFront.svg Std ViewFront

Menu location
View → Standard views → Front
Workbenches
All
Default shortcut
1
Introduced in version
-
See also
ViewTop, ViewRight


Description

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

FreeCAD views front.svg

The front view sets the camera looking back, in the direction of the positive Y axis.


How to use

  • Go to the menu View → Standard views → Std ViewFront.svg Front.
  • Or press the Std ViewFront.svg Front button.
  • Or press 1 in the numerical pad of the keyboard.

Scripting

The front 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.viewFront()

Gui.ActiveDocument.ActiveView.getViewDirection()