Std ViewZoomIn: Difference between revisions

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

{{Page in progress}}

<translate>
<translate>


<!--T:9-->
{{Docnav
{{Docnav
|[[Std_ViewIvIssueCamPos|Std ViewIvIssueCamPos]]
|[[Std_ViewIvIssueCamPos|Std ViewIvIssueCamPos]]
Line 26: Line 24:


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


==Usage== <!--T:7-->
==Usage== <!--T:7-->
Line 35: Line 33:
#* Use the keyboard shortcut: {{KEY|Ctrl}}+{{KEY|+}}.
#* Use the keyboard shortcut: {{KEY|Ctrl}}+{{KEY|+}}.


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


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


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


<!--T:13-->
* 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]].
* 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==
==Scripting== <!--T:14-->


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


<!--T:16-->
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.
To zoom in use the {{incode|zoomIn}} method of the ActiveView object. This method is not available if FreeCAD is in console mode.


</translate>
</translate>
Line 57: Line 59:
<translate>
<translate>


<!--T:17-->
{{Docnav
{{Docnav
|[[Std_ViewIvIssueCamPos|Std ViewIvIssueCamPos]]
|[[Std_ViewIvIssueCamPos|Std ViewIvIssueCamPos]]

Revision as of 20:38, 9 April 2020

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