Std: Widok perspektywy

From FreeCAD Documentation
Revision as of 09:13, 22 May 2022 by Kaktus (talk | contribs) (Created page with "==Użycie==")

Std: Widok perspektywy

Lokalizacja w menu
Widok → Widok perspektywy
Środowisko pracy
wszystkie
Domyślny skrót
V + P
Wprowadzono w wersji
-
Zobacz także
Widok ortograficzny

Opis

Polecenie Widok perspektywy przełącza ujęcie widoku w aktywnym oknie widoku 3D w tryb widoku perspektywy. W tym trybie obiekty znajdujące się dalej od kamery wydają się mniejsze niż te znajdujące się bliżej.

Dwa sześciany o tych samych wymiarach w widoku perspektywy

Użycie

  1. There are several ways to invoke the command:
    • Select the View → Perspective view option from the menu.
    • Use the keyboard shortcut: V then P.

Notes

  • It is also possible to switch to perspective view mode via the Mini-cube menu of the Navigation Cube.

Preferences

  • The camera type can be changed in the preferences: Edit → Preferences... → Display → 3D View → Camera type. The selected type will be used for all 3D views of all opened documents and also for new documents. See Preferences Editor.

Scripting

See also: FreeCAD Scripting Basics.

To change the view to perspective use the setCameraType method of the ActiveView object. This method is not available if FreeCAD is in console mode.

import FreeCADGui

FreeCADGui.ActiveDocument.ActiveView.setCameraType('Perspective')
FreeCADGui.ActiveDocument.ActiveView.getCameraType()