Std PerspectiveCamera/de: Difference between revisions

From FreeCAD Documentation
(Created page with "==Einstellungen==")
(Created page with "==Skripten==")
Line 40: Line 40:
* The camera type can be changed in the preferences: {{MenuCommand|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#3D_View|Preferences Editor]].
* The camera type can be changed in the preferences: {{MenuCommand|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#3D_View|Preferences Editor]].


==Scripting==
==Skripten==


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

Revision as of 08:24, 19 September 2020

Std Kameraperspektive

Menüeintrag
Ansicht → Perspective view
Arbeitsbereich
Alle
Standardtastenkürzel
V P
Eingeführt in Version
-
Siehe auch
Std OrthographicCamera

Description

The Std PerspectiveCamera command switches the camera in the active 3D view to perspective view mode. In this mode, objects that are further from the camera appear smaller than those that are closer.

Zwei Würfel gleicherGröße in der Perspektive

Anwendung

  1. Es gibt mehrere Möglichkeiten, den Befehl umzusetzen:
    • Den Menüpunkt Ansicht→ Perspectivische Ansicht option aus dem Menü wählen.
    • Das Tastenkürzel: V dann P verwenden.

Hinweise

  • Man kann auch zur perspectivischen Ansicht über den Menüpunkt Miniwürfel des Navigationswürfels wechseln.

Einstellungen

  • 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.

Skripten

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