Команда "Повернуть вправо"

From FreeCAD Documentation
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This page is a translated version of the page Std ViewRotateRight and the translation is 55% complete.
Outdated translations are marked like this.
Other languages:

Std ViewRotateRight

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

Описание

The Std ViewRotateRight command rotates the camera in the active 3D view around the view direction in 90-degree increments towards the right (clockwise).

Применение

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

Программирование

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

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

import FreeCADGui

FreeCADGui.ActiveDocument.ActiveView.viewRotateRight()
FreeCADGui.ActiveDocument.ActiveView.getCameraOrientation()