Команда "Сверху"

From FreeCAD Documentation
Revision as of 19:40, 10 September 2021 by Evgeniy (talk | contribs) (Created page with "==Программирование==")
Other languages:

Std ViewTop

Системное название
Std ViewTop
Расположение в меню
Виды → Стандартные виды → Сверху
Верстаки
All
Быстрые клавиши
2
Представлено в версии
-
См. также
Std ViewFront, Std ViewRight

Описание

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

Arrow 2 points in the direction of the top view

Применение

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

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

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

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

import FreeCADGui

FreeCADGui.ActiveDocument.ActiveView.viewTop()
FreeCADGui.ActiveDocument.ActiveView.getViewDirection()