Std ViewIvIssueCamPos/ro: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 1: Line 1:
<languages/>
<languages/>

{{UnfinishedDocu{{#translation:}}}}
{{Docnav
|[[Std_ViewIvStereoOff|Std ViewIvStereoOff]]
|[[Std_ViewZoomIn|Std ViewZoomIn]]
|[[Std_View_Menu|Std View Menu]]
|IconL=Std_ViewIvStereoOff.svg
|IconR=Std_ViewZoomIn.svg
|IconC=Freecad.svg
}}

{{GuiCommand
{{GuiCommand
|Name=Std ViewIvIssueCamPos
|Name=Std ViewIvIssueCamPos
|MenuLocation={{StdMenu|[[Std View Menu|View]]}} → Stereo → Issue camera position
|MenuLocation=View → Stereo → Issue camera position
|Workbenches=All
|Workbenches=All
|SeeAlso=[[Std_ViewIvStereo]]
|SeeAlso=[[Std_FreezeViews|Std FreezeViews]]
}}
}}


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
==Descriere==
==Descriere==
Line 16: Line 24:
</div>
</div>


<div class="mw-translate-fuzzy">
[[Image:CameraPosition1_it.png|CameraPosition1_it.png]]
[[Image:CameraPosition1_it.png|CameraPosition1_it.png]]
</div>

{{Code|code= 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 }
}}
{{Caption|Example output: camera settings after changing to [[Std_ViewIsometric|isometric view]] in a new document}}


==Usage==
==Usage==


# Use the {{MenuCommand|{{StdMenu|[[Std View Menu|View]]}} → Stereo → Issue camera position}} entry in the View menu.
# Select the {{MenuCommand|View → Stereo → [[Image:Std_ViewIvIssueCamPos.svg|16px]] 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|Std FreezeViews]].

==Scripting==

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

The {{incode|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.

{{Code|code=
import FreeCADGui

FreeCADGui.ActiveDocument.ActiveView.getCamera()
}}

{{Docnav
|[[Std_ViewIvStereoOff|Std ViewIvStereoOff]]
|[[Std_ViewZoomIn|Std ViewZoomIn]]
|[[Std_View_Menu|Std View Menu]]
|IconL=Std_ViewIvStereoOff.svg
|IconR=Std_ViewZoomIn.svg
|IconC=Freecad.svg
}}


{{Std Base navi{{#translation:}}}}
{{Std Base navi{{#translation:}}}}

Revision as of 20:35, 9 April 2020

Std ViewIvIssueCamPos

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

Descriere

Această comandă este utilizată pentru a afla detaliile poziției, orientării și alte informații despre cameră.

Exemplu de locație a camerei în vizualizarea Raport:

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

Usage

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