Std ViewTop: Difference between revisions

From FreeCAD Documentation
({{Std Base navi}} to categorize page)
m (Added templates, separated templates for better translation)
Line 4: Line 4:
{{GuiCommand
{{GuiCommand
|Name=Std ViewTop
|Name=Std ViewTop
|MenuLocation=[[Std View Menu|View]] → Standard views → Top
|MenuLocation={{StdMenu|[[Std View Menu|View]]}} → Standard views → Top
|Workbenches=All
|Workbenches=All
|Shortcut=2
|Shortcut={{KEY|2}}
|SeeAlso=[[Std_ViewFront|ViewFront]], [[Std_ViewRight|ViewRight]]
|SeeAlso=[[Std_ViewFront|ViewFront]], [[Std_ViewRight|ViewRight]]
}}
}}
Line 47: Line 47:
<!--T:10-->
<!--T:10-->
{{Std Base navi}}
{{Std Base navi}}

{{Userdocnavi}}
{{Userdocnavi}}
</translate>
</translate>

Revision as of 22:19, 12 February 2020

Std ViewTop

Menu location
View → Standard views → Top
Workbenches
All
Default shortcut
2
Introduced in version
-
See also
ViewFront, ViewRight

Description

Std ViewTop puts the camera in the 3D view looking down from above, in the direction of the negative Z axis, [0.0, 0.0, -1.0].

The top view sets the camera looking down, in the direction of the negative Z axis.

How to use

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

Scripting

The top 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 FreeCADGui as Gui
Gui.ActiveDocument.ActiveView.viewTop()

Gui.ActiveDocument.ActiveView.getViewDirection()