Std ViewFront

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.

Arrow 1 points in the direction of the front view

Usage

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

Scripting

See also: Autogenerated API documentation and FreeCAD Scripting Basics.

Use the viewFront method of the View object to change to front view. Methods for the other main view orientations are also available: viewTop, viewRight, viewRear, viewBottom and viewRight.

import FreeCADGui

view = FreeCADGui.ActiveDocument.ActiveView
view.viewFront()