Std PerspectiveCamera/it: Difference between revisions

From FreeCAD Documentation
(Replaced content with "==Utilizzo==")
(Created page with "== Note ==")
Line 25: Line 25:
#* Use the keyboard shortcut: {{KEY|V}} then {{KEY|P}}.
#* Use the keyboard shortcut: {{KEY|V}} then {{KEY|P}}.


==Notes==
== Note ==


* It is also possible to switch to perspective view mode via the Mini-cube menu of the [[Navigation_Cube|Navigation Cube]].
* It is also possible to switch to perspective view mode via the Mini-cube menu of the [[Navigation_Cube|Navigation Cube]].

Revision as of 19:27, 14 April 2020

Vista in prospettiva

Posizione nel menu
Visualizza → Vista in prospettiva
Ambiente
Tutti
Avvio veloce
V P
Introdotto nella versione
-
Vedere anche
Vista ortografica

Descrizione

Il comando Std PerspectiveCamera commuta la [3D_view/it|vista 3D] attiva in modalità vista prospettica. In questa modalità, gli oggetti più lontani dalla fotocamera appaiono più piccoli di quelli più vicini.

Two cubes with the same dimensions in perspective view

Utilizzo

  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.

Note

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