Std ViewTop: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{Page in progress}}

<translate>
<translate>


<!--T:12-->
{{Docnav
{{Docnav
|[[Std_ViewFront|Std ViewFront]]
|[[Std_ViewFront|ViewFront]]
|[[Std_ViewRight|Std ViewRight]]
|[[Std_ViewRight|ViewRight]]
|[[Std_View_Menu|Std View Menu]]
|[[Std_View_Menu|Std View Menu]]
|IconL=Std_ViewFront.svg
|IconL=Std_ViewFront.svg
Line 26: Line 24:


<!--T:3-->
<!--T:3-->
The '''Std ViewTop''' command changes the direction of the camera in the active [[3D_view|3D view]] to match the direction of the negative Z axis.
The '''Std ViewTop''' command points the camera in the active [[3D_view|3D view]] in the direction of the negative Z axis.


</translate>
</translate>
Line 60: Line 58:
<translate>
<translate>


<!--T:13-->
{{Docnav
{{Docnav
|[[Std_ViewFront|Std ViewFront]]
|[[Std_ViewFront|ViewFront]]
|[[Std_ViewRight|Std ViewRight]]
|[[Std_ViewRight|ViewRight]]
|[[Std_View_Menu|Std View Menu]]
|[[Std_View_Menu|Std View Menu]]
|IconL=Std_ViewFront.svg
|IconL=Std_ViewFront.svg

Latest revision as of 20:27, 22 December 2020

Std ViewTop

Menu location
View → Standard views → Top
Workbenches
All
Default shortcut
2
Introduced in version
-
See also
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()