Std ViewRotateLeft

From FreeCAD Documentation
Jump to navigation Jump to search
Other languages:
Deutsch • ‎English • ‎français • ‎italiano • ‎română • ‎русский

Std ViewRotateLeft.svg Std ViewRotateLeft

Menu location
View → Standard views → Rotate Left
Workbenches
All
Default shortcut
Shift+Left
Introduced in version
-
See also
Std ViewRotateRight


Description

The Std ViewRotateLeft command rotates the camera in the active 3D view around the view direction in 90-degree increments towards the left (counterclockwise).

Usage

  1. There are several ways to invoke the command:
    • Select the View → Standard views → Std ViewRotateLeft.svg Rotate Left option from the menu.
    • Select the Standard views → Std ViewRotateLeft.svg Rotate Left option from the 3D view context menu.
    • Use the keyboard shortcut: Shift+Left.

Scripting

See also: FreeCAD Scripting Basics.

To rotate the view to the left use the viewRotateLeft method of the ActiveView object. This method is not available if FreeCAD is in console mode.

import FreeCADGui

FreeCADGui.ActiveDocument.ActiveView.viewRotateLeft()
FreeCADGui.ActiveDocument.ActiveView.getCameraOrientation()