|
Menu location |
---|
View → Stereo → Issue camera position |
Workbenches |
All |
Default shortcut |
None |
Introduced in version |
- |
See also |
Std FreezeViews |
The Std ViewIvIssueCamPos command prints the camera settings of the active 3D view in the Report view and the Python console.
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
See also: Autogenerated API documentation and FreeCAD Scripting Basics.
The getCamera
method of the View object returns the same camera settings in a single string.
import FreeCADGui
view = FreeCADGui.ActiveDocument.ActiveView
view.getCamera()