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

From FreeCAD Documentation
Revision as of 16:02, 7 May 2020 by Baritone (talk | contribs) (Created page with "{{GuiCommand/ru |Name=Std ViewTop |MenuLocation=Виды → Стандартные виды → СВерху |Workbenches=All |Shortcut={{KEY|2}} |SeeAlso=Std_ViewFront/ru|...")
Other languages:

Std ViewTop

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

Description

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

Usage

  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.

Scripting

See also: FreeCAD Scripting Basics.

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