Std ViewFitSelection/ro: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{Docnav
|[[Std_ViewFitAll|ViewFitAll]]
|[[Std_ViewIsometric|ViewIsometric]]
|[[Std_View_Menu|Std View Menu]]
|IconL=Std_ViewFitAll.svg
|IconR=Std_ViewIsometric.svg
|IconC=Freecad.svg
}}

<div class="mw-translate-fuzzy">
{{GuiCommand|Name=Std ViewFitSelection|MenuLocation=[[Std View Menu|View]] → Fit Selection|Workbenches=All|Shortcut=|SeeAlso=}}
{{GuiCommand|Name=Std ViewFitSelection|MenuLocation=[[Std View Menu|View]] → Fit Selection|Workbenches=All|Shortcut=|SeeAlso=}}
</div>


<span id="Description"></span>
<div class="mw-translate-fuzzy">
==Descriere==
==Descriere==
Faceți Zooms până toae obiectele selectate din arborescența vizualizătilro sunt vizibile în vizualizarea 3D.
Faceți Zooms până toae obiectele selectate din arborescența vizualizătilro sunt vizibile în vizualizarea 3D.
</div>


The '''Std ViewFitSelection''' command zooms and pans the camera so that all selected objects fit inside the active [[3D_view|3D view]]. This command is useful in cases where for some reason objects are beyond the boundaries of the current 3D View or can't be easily found using [[Mouse_navigation|3D navigation]].

<span id="Usage"></span>
<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
==Utilizare==
==Utilizare==
Line 11: Line 29:
</div>
</div>


# Select one or more objects.
Command is also available by right-clicking in the 3D view (and having nothing pre-selected).
# There are several ways to invoke the command:
#* Press the {{Button|[[Image:Std_ViewFitSelection.svg|16px]] [[Std_ViewFitSelection|Std ViewFitSelection]]}} button.
#* Select the {{MenuCommand|View → Standard views → [[Image:Std_ViewFitSelection.svg|16px]]Fit selection}} option from the menu.
#* Select the {{MenuCommand|[[Image:Std_ViewFitSelection.svg|16px]] Fit selection}} option from the [[3D_view|3D view]] context menu.
#* Use the keyboard shortcut: {{KEY|V}} then {{KEY|S}}.

==Scripting==

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

To change the view to 'fit selection' the {{incode|SendMsgToActiveView}} method of the FreeCADGui object can be used. This method is not available if FreeCAD is in console mode.

{{Code|code=
import FreeCADGui

FreeCADGui.SendMsgToActiveView('ViewSelection')
}}


{{Docnav
|[[Std_ViewFitAll|ViewFitAll]]
|[[Std_ViewIsometric|ViewIsometric]]
|[[Std_View_Menu|Std View Menu]]
|IconL=Std_ViewFitAll.svg
|IconR=Std_ViewIsometric.svg
|IconC=Freecad.svg
}}


{{Std Base}}
{{Std Base navi{{#translation:}}}}
{{Userdocnavi}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Latest revision as of 10:35, 19 March 2023

Std ViewFitSelection

Menu location
View → Fit Selection
Workbenches
All
Default shortcut
None
Introduced in version
-
See also
None

Descriere

Faceți Zooms până toae obiectele selectate din arborescența vizualizătilro sunt vizibile în vizualizarea 3D.

The Std ViewFitSelection command zooms and pans the camera so that all selected objects fit inside the active 3D view. This command is useful in cases where for some reason objects are beyond the boundaries of the current 3D View or can't be easily found using 3D navigation.

Utilizare

Click pe or choose View Standard views Fit selection din meniul principal.
Comanda este de asemenea disponibilă făcând cilc drapta în vizualizarea 3D (și neavânde nimic preselectat).

  1. Select one or more objects.
  2. There are several ways to invoke the command:
    • Press the Std ViewFitSelection button.
    • Select the View → Standard views → Fit selection option from the menu.
    • Select the Fit selection option from the 3D view context menu.
    • Use the keyboard shortcut: V then S.

Scripting

See also: FreeCAD Scripting Basics.

To change the view to 'fit selection' the SendMsgToActiveView method of the FreeCADGui object can be used. This method is not available if FreeCAD is in console mode.

import FreeCADGui

FreeCADGui.SendMsgToActiveView('ViewSelection')