Std ViewZoomOut: Difference between revisions

From FreeCAD Documentation
(Marked this version for translation)
(Revised. 'In progress' for now.)
Line 1: Line 1:
<languages/>
<languages/>

{{Page in progress}}

<translate>
<translate>


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

{{GuiCommand
{{GuiCommand
|Icon=Zoom-out.svg
|Name=Std ViewZoomOut
|Name=Std ViewZoomOut
|MenuLocation={{StdMenu|[[Std View Menu|View]]}}Zoom‏‎ → Zoom Out
|MenuLocation=View → Zoom → Zoom Out
|Workbenches=All
|Workbenches=All
|Shortcut=Ctrl + -
|Shortcut={{KEY|Ctrl}}+{{KEY|-}}
|SeeAlso=[[Std ViewZoomIn|Zoom In]], [[Std ViewBoxZoom|Zoom box]]
|SeeAlso=[[Std_ViewZoomIn|Std ViewZoomIn]], [[Std_ViewBoxZoom|Std ViewBoxZoom]]
}}
}}


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


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


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


# There are several ways to invoke the command:
<!--T:4-->
* Go to {{MenuCommand|{{StdMenu|[[Std View Menu|View]]}}Zoom‏‎ → [[File:Zoom-out.svg|16px]] Zoom Out}} or press {{KEY|Ctrl}}+{{KEY|-}}.
#* Select the {{MenuCommand|View → Zoom → [[Image:Std_ViewZoomOut.svg|16px]] Zoom Out}} option from the menu.
#* Use the keyboard shortcut: {{KEY|Ctrl}}+{{KEY|-}}.
* The view can also be zoomed out with the mouse scroll wheel.


==Notes==
==Options== <!--T:9-->


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

* The zoom step can be changed in {{MenuCommand|Edit → Preferences → Display → 3D View}}.
==Preferences==

* The zoom step (zoom factor) can be changed in the preferences: {{MenuCommand|Edit → Preferences... → Display → 3D View}}. This setting also affects scroll wheel zoom. See [[Preferences_Editor#3D_View|Preferences Editor]].

==Scripting==

{{Emphasis|See also:}} [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].

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

{{Docnav
|[[Std_ViewZoomIn|Std ViewZoomIn]]
|[[Std_ViewBoxZoom|Std ViewBoxZoom]]
|[[Std_View_Menu|Std View Menu]]
|IconL=Std_ViewZoomIn.svg
|IconR=Std_ViewBoxZoom.svg
|IconC=Freecad.svg
}}


</translate>
</translate>

Revision as of 07:01, 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()