Std ViewZoomOut: Difference between revisions

From FreeCAD Documentation
(Revised. 'In progress' for now.)
No edit summary
Line 14: Line 14:
}}
}}


<!--T:2-->
{{GuiCommand
{{GuiCommand
|Name=Std ViewZoomOut
|Name=Std ViewZoomOut
Line 22: Line 23:
}}
}}


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


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


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


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

Revision as of 07:02, 2 April 2020

This documentation is a work in progress. Please don't mark it as translatable since it will change in the next hours and days.


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 the camera 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 step (zoom factor) can be changed in the preferences: Edit → Preferences... → Display → 3D View. This setting also affects scroll wheel zoom. See Preferences Editor.

Scripting

See also: FreeCAD Scripting Basics.

To zoom out the view 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()