Std ViewZoomIn: Difference between revisions

From FreeCAD Documentation
(Marked this version for translation)
No edit summary
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{Page in progress}}

<translate>
<translate>

{{Docnav
|[[Std_ViewIvIssueCamPos|Std ViewIvIssueCamPos]]
|[[Std_ViewZoomOut|Std ViewZoomOut]]
|[[Std_View_Menu|Std View Menu]]
|IconL=Std_ViewIvIssueCamPos.svg
|IconR=Std_ViewZoomOut.svg
|IconC=Freecad.svg
}}


<!--T:1-->
<!--T:1-->
{{GuiCommand
{{GuiCommand
|Icon=Zoom-in.svg
|Name=Std ViewZoomIn
|Name=Std ViewZoomIn
|MenuLocation={{StdMenu|[[Std View Menu|View]]}}Zoom‏‎ → Zoom In
|MenuLocation=View → Zoom → Zoom In
|Workbenches=All
|Workbenches=All
|Shortcut=Ctrl + +
|Shortcut={{KEY|Ctrl}}+{{KEY|+}}
|SeeAlso=[[Std ViewZoomOut|Zoom Out]], [[Std ViewBoxZoom|Zoom box]]
|SeeAlso=[[Std_ViewZoomOut|Std ViewZoomOut]], [[Std_ViewBoxZoom|Std ViewBoxZoom]]
}}
}}


Line 15: Line 26:


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


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


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


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


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

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

* 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==

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

To zoom in the view use the {{incode|zoomIn}} method of the ActiveView object. This method is not available if FreeCAD is in console mode.

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

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

{{Docnav
|[[Std_ViewIvIssueCamPos|Std ViewIvIssueCamPos]]
|[[Std_ViewZoomOut|Std ViewZoomOut]]
|[[Std_View_Menu|Std View Menu]]
|IconL=Std_ViewIvIssueCamPos.svg
|IconR=Std_ViewZoomOut.svg
|IconC=Freecad.svg
}}


</translate>
</translate>

Revision as of 18:42, 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 ViewZoomIn

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

Description

The Std ViewZoomIn command zooms in the camera in the active 3D view.

Usage

  1. There are several ways to invoke the command:
    • Select the View → Zoom → Zoom In 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 in the view use the zoomIn method of the ActiveView object. This method is not available if FreeCAD is in console mode.

import FreeCADGui

FreeCADGui.ActiveDocument.ActiveView.zoomIn()