Std ViewFront

From FreeCAD Documentation
Jump to navigation Jump to search
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
Std ViewTop, Std ViewRight


Description

The Std ViewFront command points the camera in the active 3D view in the direction of the positive Y axis.

FreeCAD views front.svg

Arrow 1 points in the direction of the front view


Usage

  1. There are several ways to invoke the command:
    • Press the Std ViewFront.svg Std ViewFront button.
    • Select the View → Standard views → Std ViewFront.svg Front option from the menu.
    • Select the Standard views → Std ViewFront.svg Front option from the 3D view context menu.
    • Use the keyboard shortcut: 1.

Scripting

See also: FreeCAD Scripting Basics.

To change to front view use the viewFront method of the ActiveView object. This method is not available if FreeCAD is in console mode.

import FreeCADGui

FreeCADGui.ActiveDocument.ActiveView.viewFront()
FreeCADGui.ActiveDocument.ActiveView.getViewDirection()