Std ViewTop: Difference between revisions

From FreeCAD Documentation
No edit summary
(Marked this version for translation)
 
(8 intermediate revisions by the same user not shown)
Line 36: Line 36:
<!--T:6-->
<!--T:6-->
# There are several ways to invoke the command:
# There are several ways to invoke the command:
#* Press the {{Button|[[Image:Std_ViewTop.svg|16px]] [[Std_ViewTop|Std ViewTop]]}} button.
#* Press the {{Button|[[Image:Std_ViewTop.svg|16px]] [[Std_ViewTop|Top]]}} button.
#* Select the {{MenuCommand|View → Standard views → [[Image:Std_ViewTop.svg|16px]] Top}} option from the menu.
#* Select the {{MenuCommand|View → Standard views → [[Image:Std_ViewTop.svg|16px]] Top}} option from the menu.
#* Select the {{MenuCommand|Standard views → [[Image:Std_ViewTop.svg|16px]] Top}} option from the [[3D_view|3D view]] context menu.
#* Select the {{MenuCommand|Standard views → [[Image:Std_ViewTop.svg|16px]] Top}} option from the [[3D_view|3D view]] context menu.
Line 43: Line 43:
==Scripting== <!--T:7-->
==Scripting== <!--T:7-->


<!--T:8-->
<!--T:14-->
See [[Std_ViewFront#Scripting|Std ViewFront]].
{{Emphasis|See also:}} [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].


<!--T:9-->
To change to top view use the {{incode|viewTop}} method of the ActiveView object. This method is not available if FreeCAD is in console mode.

</translate>
{{Code|code=
import FreeCADGui

FreeCADGui.ActiveDocument.ActiveView.viewTop()
FreeCADGui.ActiveDocument.ActiveView.getViewDirection()
}}
<translate>


<!--T:13-->
<!--T:13-->
Line 69: Line 58:


</translate>
</translate>
{{Std Base navi{{#translation:}}}}
{{Std_Base_navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Latest revision as of 18:25, 9 July 2024

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 Top 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 Std ViewFront.