Std AnsichtAllesEinpassen

From FreeCAD Documentation
Revision as of 17:25, 31 August 2021 by Le Loup (talk | contribs) (Replaced content with "==Anwendung====")

Std AnsichtEinpassenAlles

Menüeintrag
Ansicht → Standardansichten‏‎ → EinpassenAlles
Arbeitsbereich
Alle
Standardtastenkürzel
V F
Eingeführt in Version
-
Siehe auch
Std AnsichtEinpassenAuswahl

Beschreibung

Der Std AnsichtEinpassenAlles-Befehl zoomt und schwenkt, bis alle sichtbaren Objekte in die aktive 3D Ansicht passen.

Anwendung==

  1. There are several ways to invoke the command:
    • Press the Std ViewFitAll button.
    • Select the View → Standard views → Fit all option from the menu.
    • Select the Fit all option from the 3D view context menu.
    • Use the keyboard shortcut: V then F.

Notes

  • It is also possible to zoom to 'fit all' via the Mini-cube menu of the Navigation Cube.

Scripting

See also: FreeCAD Scripting Basics.

To change the view to 'fit all' use the fitAll method of the ActiveView object. This method is not available if FreeCAD is in console mode.

import FreeCADGui

FreeCADGui.ActiveDocument.ActiveView.fitAll()

Alternatively 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('ViewFit')