Std ViewRotateLeft/ru: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
Line 34: Line 34:
==Scripting==
==Scripting==


{{Emphasis|Смотри так же:}} [[FreeCAD_Scripting_Basics/ru|Основы скриптов в FreeCAD]].
{{Emphasis|Смотрите так же:}} [[FreeCAD_Scripting_Basics/ru|Основы составления скриптов в FreeCAD]].


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.
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.

Revision as of 00:19, 3 August 2021

Other languages:

Std ViewRotateLeft

Системное название
Std ViewRotateLeft
Расположение в меню
Вид → Стандартные виды → Повернуть влево
Верстаки
All
Быстрые клавиши
Shift+Left
Представлено в версии
-
См. также
Std ViewRotateRight

Описание

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

Использование

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

Scripting

Смотрите так же: Основы составления скриптов в FreeCAD.

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()