Std ViewIvIssueCamPos/fr: Difference between revisions

From FreeCAD Documentation
(Created page with "{{Docnav/fr |Stéréo désactivée |Zoom avant |Menu affichage |IconL=Std_ViewIvStereoOff.svg |IconR=Std_...")
(Created page with "{{Docnav/fr |Stéréo désactivée |Zoom avant |Menu affichage |IconL=Std_ViewIvStereoOff.svg |IconR=Std_...")
Line 51: Line 51:
}}
}}


{{Docnav
{{Docnav/fr
|[[Std_ViewIvStereoOff|Std ViewIvStereoOff]]
|[[Std_ViewIvStereoOff/fr|Stéréo désactivée]]
|[[Std_ViewZoomIn|Std ViewZoomIn]]
|[[Std_ViewZoomIn/fr|Zoom avant]]
|[[Std_View_Menu|Std View Menu]]
|[[Std_View_Menu/fr|Menu affichage]]
|IconL=Std_ViewIvStereoOff.svg
|IconL=Std_ViewIvStereoOff.svg
|IconR=Std_ViewZoomIn.svg
|IconR=Std_ViewZoomIn.svg

Revision as of 14:42, 24 April 2020

Std Position de la caméra

Emplacement du menu
Affichage → Stéréo → Récupérer la position de la caméra
Ateliers
Std Vue stéréoscopique
Raccourci par défaut
Aucun
Introduit dans la version
-
Voir aussi
Aucun

Description

CameraPosition1_it.png

OrthographicCamera {   viewportMapping ADJUST_CAMERA   position 57.73505 -57.73502 57.735027   orientation 0.74290609 0.30772209 0.59447283  1.2171158   nearDistance 81.588844   farDistance 109.60551   aspectRatio 1   focalDistance 100   height 100  }

Example output: camera settings after changing to isometric view in a new document

Utilisation

  1. Utilisez l'entrée Affichage → Stéréo → Récupérer la position de la caméra dans le menu View.

Notes

  • The camera settings can be used to add frozen views to a *.cam file. See Std FreezeViews.

Scripting

See also: FreeCAD Scripting Basics.

The getCamera method of the ActiveView object returns the same camera settings in a single string. This method is not available if FreeCAD is in console mode.

import FreeCADGui

FreeCADGui.ActiveDocument.ActiveView.getCamera()