Std: Widok dopasowany do wyboru

From FreeCAD Documentation
Revision as of 07:06, 17 October 2021 by Kaktus (talk | contribs) (Created page with "Polecenie '''Dopasuj wybór do widoku''' powiększa i przesuwa ujęcie widoku tak, że wszystkie wybrane obiekty mieszczą się w aktywnym oknie widoku 3D.")

Std: Dopasuj wybór do widoku

Lokalizacja w menu
Widok → Widoki standardowe → Dopasuj wybór
Środowisko pracy
wszystkie
Domyślny skrót
V S
Wprowadzono w wersji
-
Zobacz także
Dopasuj wszystko

Opis

Polecenie Dopasuj wybór do widoku powiększa i przesuwa ujęcie widoku tak, że wszystkie wybrane obiekty mieszczą się w aktywnym oknie widoku 3D.

Użycie

  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.


Tworzenie skryptów

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