Std ViewRotateLeft/ro: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 1: Line 1:
<languages/>
<languages/>

{{Docnav
|[[Std_ViewLeft|Std ViewLeft]]
|[[Std_ViewRotateRight|Std ViewRotateRight]]
|[[Std_View_Menu|Std View Menu]]
|IconL=Std_ViewLeft.svg
|IconR=Std_ViewRotateRight.svg
|IconC=Freecad.svg
}}

<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
{{GuiCommand|Name=Std_RotateLeft|Workbenches=All|SeeAlso=...}}
{{GuiCommand|Name=Std_RotateLeft|Workbenches=All|SeeAlso=...}}
Line 12: Line 22:
</div>
</div>


==Usage==
==Usage==


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Line 18: Line 28:
</div>
</div>


==Scripting==
{{clear}}

{{Emphasis|See also:}} [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].

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

{{Code|code=
import FreeCADGui

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

{{Docnav
|[[Std_ViewLeft|Std ViewLeft]]
|[[Std_ViewRotateRight|Std ViewRotateRight]]
|[[Std_View_Menu|Std View Menu]]
|IconL=Std_ViewLeft.svg
|IconR=Std_ViewRotateRight.svg
|IconC=Freecad.svg
}}

{{Std Base navi{{#translation:}}}}
{{Std Base navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Revision as of 20:36, 9 April 2020

Std_RotateLeft

Menu location
None
Workbenches
All
Default shortcut
None
Introduced in version
-
See also
...

Rezumat

De completat

Usage

  • Press Shift + Left or go to View → Standard views → Rotate 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()