Std ViewZoomOut: Difference between revisions

From FreeCAD Documentation
m (1 revision)
No edit summary
 
(24 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<languages/>
{{GuiCommand|Name=Std_ViewZoom|Workbenches=All|SeeAlso=...}}
<translate>
'''Synopsis'''
ToDo.


<!--T:10-->
{{Docnav
|[[Std_ViewZoomIn|ViewZoomIn]]
|[[Std_ViewBoxZoom|ViewBoxZoom]]
|[[Std_View_Menu|Std View Menu]]
|IconL=Std_ViewZoomIn.svg
|IconR=Std_ViewBoxZoom.svg
|IconC=Freecad.svg
}}


<!--T:2-->
{{Template:UnfinishedDocu}}
{{GuiCommand
|Name=Std ViewZoomOut
|MenuLocation=View → Zoom → Zoom Out
|Workbenches=All
|Shortcut={{KEY|Ctrl}}+{{KEY|-}}
|SeeAlso=[[Std_ViewZoomIn|Std ViewZoomIn]], [[Std_ViewBoxZoom|Std ViewBoxZoom]]
}}

==Description== <!--T:7-->

<!--T:3-->
The '''Std ViewZoomOut''' command zooms out in the active [[3D_view|3D view]].

==Usage== <!--T:8-->

<!--T:4-->
# There are several ways to invoke the command:
#* Select the {{MenuCommand|View → Zoom → [[Image:Std_ViewZoomOut.svg|16px]] Zoom Out}} option from the menu.
#* Use the keyboard shortcut: {{KEY|Ctrl}}+{{KEY|-}}.

==Notes== <!--T:11-->

<!--T:12-->
* It is also possible to zoom with the mouse scroll wheel.

==Preferences== <!--T:13-->

<!--T:14-->
* The zoom factor can be changed in the preferences: {{MenuCommand|Edit → Preferences... → Display → Navigation → Zoom step}}. This setting also affects scroll wheel zoom. See [[Preferences_Editor#Navigation|Preferences Editor]].

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

<!--T:16-->
{{Emphasis|See also:}} [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].

<!--T:17-->
To zoom out use the {{incode|zoomOut}} method of the ActiveView object. This method is not available if FreeCAD is in console mode.

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

FreeCADGui.ActiveDocument.ActiveView.zoomOut()
}}
<translate>

<!--T:18-->
{{Docnav
|[[Std_ViewZoomIn|ViewZoomIn]]
|[[Std_ViewBoxZoom|ViewBoxZoom]]
|[[Std_View_Menu|Std View Menu]]
|IconL=Std_ViewZoomIn.svg
|IconR=Std_ViewBoxZoom.svg
|IconC=Freecad.svg
}}

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

Latest revision as of 20:38, 22 December 2020

Std ViewZoomOut

Menu location
View → Zoom → Zoom Out
Workbenches
All
Default shortcut
Ctrl+-
Introduced in version
-
See also
Std ViewZoomIn, Std ViewBoxZoom

Description

The Std ViewZoomOut command zooms out in the active 3D view.

Usage

  1. There are several ways to invoke the command:
    • Select the View → Zoom → Zoom Out option from the menu.
    • Use the keyboard shortcut: Ctrl+-.

Notes

  • It is also possible to zoom with the mouse scroll wheel.

Preferences

  • The zoom factor can be changed in the preferences: Edit → Preferences... → Display → Navigation → Zoom step. This setting also affects scroll wheel zoom. See Preferences Editor.

Scripting

See also: FreeCAD Scripting Basics.

To zoom out use the zoomOut method of the ActiveView object. This method is not available if FreeCAD is in console mode.

import FreeCADGui

FreeCADGui.ActiveDocument.ActiveView.zoomOut()