Std ViewZoomOut: Difference between revisions

From FreeCAD Documentation
(Marked this version for translation)
No edit summary
 
Line 4: Line 4:
<!--T:10-->
<!--T:10-->
{{Docnav
{{Docnav
|[[Std_ViewZoomIn|Std ViewZoomIn]]
|[[Std_ViewZoomIn|ViewZoomIn]]
|[[Std_ViewBoxZoom|Std ViewBoxZoom]]
|[[Std_ViewBoxZoom|ViewBoxZoom]]
|[[Std_View_Menu|Std View Menu]]
|[[Std_View_Menu|Std View Menu]]
|IconL=Std_ViewZoomIn.svg
|IconL=Std_ViewZoomIn.svg
Line 61: Line 61:
<!--T:18-->
<!--T:18-->
{{Docnav
{{Docnav
|[[Std_ViewZoomIn|Std ViewZoomIn]]
|[[Std_ViewZoomIn|ViewZoomIn]]
|[[Std_ViewBoxZoom|Std ViewBoxZoom]]
|[[Std_ViewBoxZoom|ViewBoxZoom]]
|[[Std_View_Menu|Std View Menu]]
|[[Std_View_Menu|Std View Menu]]
|IconL=Std_ViewZoomIn.svg
|IconL=Std_ViewZoomIn.svg

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()