Difference between revisions of "Std ViewBottom"

From FreeCAD Documentation
Jump to navigation Jump to search
({{Std Base navi}} to categorize page)
(Marked this version for translation)
 
(7 intermediate revisions by 3 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-->
* Go to the menu {{MenuCommand|View → Standard views → [[File:Std_ViewBottom.svg|16px]] [[Std_ViewBottom|Bottom]]}}.
+
# There are several ways to invoke the command:
* 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.
* Or press {{KEY|5}} in the numerical pad of the keyboard.
+
#* Select the {{MenuCommand|View → Standard views → [[Image:Std_ViewBottom.svg|16px]] Bottom}} option from the menu.
 +
#* 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-->
The bottom view can be set from the [[Python console|Python console]].
+
{{Emphasis|See also:}} [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].
  
 
<!--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-->
{{Std Base navi}}
+
{{Docnav
{{Userdocnavi}}
+
|[[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
 +
}}
 +
 
 
</translate>
 
</translate>
 +
{{Std Base navi{{#translation:}}}}
 +
{{Userdocnavi{{#translation:}}}}
 
{{clear}}
 
{{clear}}

Latest revision as of 20:31, 9 April 2020

Other languages:
Deutsch • ‎English • ‎français • ‎italiano

Std ViewBottom.svg 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.

FreeCAD views rear.svg

Arrow 5 points in the direction of the bottom view


Usage

  1. There are several ways to invoke the command:
    • Press the Std ViewBottom.svg Std ViewBottom button.
    • Select the View → Standard views → Std ViewBottom.svg Bottom option from the menu.
    • Select the Standard views → Std ViewBottom.svg 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()