Std ViewTop: Difference between revisions

From FreeCAD Documentation
(New page to describe the top view.)
 
Line 21: Line 21:
* Go to the menu {{MenuCommand|View → Standard views → [[File:Std_ViewTop.svg|16px]] [[Std_ViewIsometric|Top]]}}.
* Go to the menu {{MenuCommand|View → Standard views → [[File:Std_ViewTop.svg|16px]] [[Std_ViewIsometric|Top]]}}.
* Or press the {{Button|[[File:Std_ViewTop.svg|16px]] [[Std_ViewTop|Top]]}} button.
* Or press the {{Button|[[File:Std_ViewTop.svg|16px]] [[Std_ViewTop|Top]]}} button.
* Or press the {{KEY|0}} in the numerical pad of the keyboard.
* Or press the {{KEY|2}} in the numerical pad of the keyboard.


== Scripting ==
== Scripting ==

Revision as of 16:19, 23 November 2019

Std ViewTop

Menu location
View → Standard views → Top
Workbenches
All
Default shortcut
2
Introduced in version
-
See also
Orthographic camera

Description

Puts the camera in the 3D view looking down from above, in the direction of the negative Z axis.

View from above.

How to use

  • Go to the menu View → Standard views → Top.
  • Or press the Top button.
  • Or press the 2 in the numerical pad of the keyboard.

Scripting

The isometric view can be set from the Python console.

It is a method of the ActiveView of the ActiveDocument. The ActiveView only exists when the graphical interface is available; it does not exist when FreeCAD is used in purely console mode.

import FreeCAD as App
App.Gui.ActiveDocument.ActiveView.viewTop()

import FreeCADGui as Gui
Gui.ActiveDocument.ActiveView.viewTop()