Std ViewBottom: Difference between revisions

From FreeCAD Documentation
(Marked this version for translation)
(Marked this version for translation)
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
<translate>
<translate>

<!--T:20-->
{{Docnav
|[[Std_ViewRear|Std ViewRear]]
|[[Std_ViewLeft|Std ViewLeft]]
|[[Std_View_Menu|Std View Menu]]
|IconL=Std_ViewRear.svg
|IconR=Std_ViewLeft.svg
|IconC=Freecad.svg
}}

<!--T:11-->
<!--T:11-->
{{GuiCommand
{{GuiCommand
|Name=Std ViewBottom
|Name=Std ViewBottom
|MenuLocation=[[Std View Menu|View]] → Standard views → Bottom
|MenuLocation=View → Standard views → Bottom
|Workbenches=All
|Workbenches=All
|Shortcut=5
|Shortcut={{KEY|5}}
|SeeAlso=[[Std_ViewRear|ViewRear]], [[Std_ViewLeft|ViewLeft]]
|SeeAlso=[[Std_ViewRear|Std ViewRear]], [[Std_ViewLeft|Std ViewLeft]]
}}
}}


Line 13: Line 24:


<!--T:13-->
<!--T:13-->
[[Std_ViewBottom|Std ViewBottom]] puts the camera in the [[3D view|3D view]] looking down from above, in the direction of the positive Z axis, {{incode|[0.0, 0.0, 1.0]}}.
The '''Std ViewBottom''' command points the camera in the active [[3D_view|3D view]] in the direction of the positive Z axis.


</translate>
</translate>
[[File:FreeCAD_views_rear.svg]]
[[Image:FreeCAD_views_rear.svg]]
<translate>
<translate>
<!--T:14-->
<!--T:14-->
{{Caption|The bottom view sets the camera looking up, in the direction of the positive Z axis.}}
{{Caption|Arrow 5 points in the direction of the bottom view}}


==How to use== <!--T:15-->
==Usage== <!--T:15-->


<!--T:16-->
<!--T:16-->
# There are several ways to invoke the command:
* Go to the menu {{MenuCommand|View → Standard views → [[File:Std_ViewBottom.svg|16px]] [[Std_ViewBottom|Bottom]]}}.
* Or press the {{Button|[[File:Std_ViewBottom.svg|16px]] [[Std_ViewBottom|Bottom]]}} button.
#* Press the {{Button|[[Image:Std_ViewBottom.svg|16px]] [[Std_ViewBottom|Std ViewBottom]]}} button.
#* Select the {{MenuCommand|View → Standard views → [[Image:Std_ViewBottom.svg|16px]] Bottom}} option from the menu.
* Or press {{KEY|5}} in the numerical pad of the keyboard.
#* Select the {{MenuCommand|Standard views → [[Image:Std_ViewBottom.svg|16px]] Bottom}} option from the [[3D_view|3D view]] context menu.
#* Use the keyboard shortcut: {{KEY|5}}.


== Scripting == <!--T:17-->
==Scripting== <!--T:17-->


<!--T:18-->
<!--T:18-->
{{Emphasis|See also:}} [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].
The bottom view can be set from the [[Python console|Python console]].


<!--T:19-->
<!--T:19-->
It is a method of the {{incode|ActiveView}} of the {{incode|ActiveDocument}}. The {{incode|ActiveView}} only exists when the graphical interface is available; it does not exist when FreeCAD is used in purely console mode.
To change to bottom view use the {{incode|viewBottom}} method of the ActiveView object. This method is not available if FreeCAD is in console mode.


</translate>
</translate>
{{Code|code=
{{Code|code=
import FreeCADGui as Gui
import FreeCADGui
Gui.ActiveDocument.ActiveView.viewBottom()


Gui.ActiveDocument.ActiveView.getViewDirection()
FreeCADGui.ActiveDocument.ActiveView.viewBottom()
FreeCADGui.ActiveDocument.ActiveView.getViewDirection()
}}
}}
<translate>
<translate>


<!--T:10-->
<!--T:21-->
{{Docnav
{{Std Base}}
|[[Std_ViewRear|Std ViewRear]]
{{Userdocnavi}}
|[[Std_ViewLeft|Std ViewLeft]]
|[[Std_View_Menu|Std View Menu]]
|IconL=Std_ViewRear.svg
|IconR=Std_ViewLeft.svg
|IconC=Freecad.svg
}}

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

Revision as of 20:31, 9 April 2020

Std ViewBottom

Menu location
View → Standard views → Bottom
Workbenches
All
Default shortcut
5
Introduced in version
-
See also
Std ViewRear, Std ViewLeft

Description

The Std ViewBottom command points the camera in the active 3D view in the direction of the positive Z axis.

Arrow 5 points in the direction of the bottom view

Usage

  1. There are several ways to invoke the command:
    • Press the Std ViewBottom button.
    • Select the View → Standard views → Bottom option from the menu.
    • Select the Standard views → Bottom option from the 3D view context menu.
    • Use the keyboard shortcut: 5.

Scripting

See also: FreeCAD Scripting Basics.

To change to bottom view use the viewBottom method of the ActiveView object. This method is not available if FreeCAD is in console mode.

import FreeCADGui

FreeCADGui.ActiveDocument.ActiveView.viewBottom()
FreeCADGui.ActiveDocument.ActiveView.getViewDirection()