Std ViewRight: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
Line 26: Line 26:


<!--T:3-->
<!--T:3-->
The '''Std ViewRight''' command changes the direction of the camera in the active [[3D_view|3D view]] to match the direction of the negative X axis.
The '''Std ViewRight''' command points the camera in the active [[3D_view|3D view]] in the direction of the negative X axis.


</translate>
</translate>

Revision as of 08:28, 28 March 2020

This documentation is a work in progress. Please don't mark it as translatable since it will change in the next hours and days.


Std ViewRight

Menu location
View → Standard views → Right
Workbenches
All
Default shortcut
3
Introduced in version
-
See also
Std ViewFront, Std ViewTop

Description

The Std ViewRight command points the camera in the active 3D view in the direction of the negative X axis.

Arrow 3 points in the direction of the right view

Usage

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

Scripting

See also: FreeCAD Scripting Basics.

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

import FreeCADGui

FreeCADGui.ActiveDocument.ActiveView.viewRight()
FreeCADGui.ActiveDocument.ActiveView.getViewDirection()