Std: Parametry ujęcia widoku

From FreeCAD Documentation
Revision as of 14:42, 24 June 2022 by Kaktus (talk | contribs) (Created page with "{{Docnav/pl |Wyłącz widok trójwymiarowy |Przybliż widok |Menu Widok |IconL=Std_ViewIvStereoOff.svg |I...")

Std ViewIvIssueCamPos

Menu location
View → Stereo → Issue camera position
Workbenches
All
Default shortcut
None
Introduced in version
-
See also
Std FreezeViews

Opis

Polecenie Std ViewIvIssueCamPos wyświetla ustawienia ujęcia aktywnego widoku 3D w oknie Widoku raportu i konsoli Python.

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  }

Przykładowe wyświetlone dane: ustawienia ujęcia widoku po zmianie widoku na izometryczny w nowym dokumencie

Użycie

  1. Select the View → Stereo → Issue camera position option from the menu.

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