Std ViewIvIssueCamPos/ru: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
No edit summary
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages/>
<languages/>


{{Docnav
{{Docnav/ru
|[[Std_ViewIvStereoOff|Std ViewIvStereoOff]]
|[[Std_ViewIvStereoOff/ru|Команда "Выключить стерео"]]
|[[Std_ViewZoomIn|Std ViewZoomIn]]
|[[Std_ViewZoomIn/ru|Команда "Увеличить"]]
|[[Std_View_Menu|Std View Menu]]
|[[Std_View_Menu/ru|Меню "Вид"]]
|IconL=Std_ViewIvStereoOff.svg
|IconL=Std_ViewIvStereoOff.svg
|IconR=Std_ViewZoomIn.svg
|IconR=Std_ViewZoomIn.svg
Line 10: Line 10:
}}
}}


{{GuiCommand
{{GuiCommand/ru
|Name=Std ViewIvIssueCamPos
|Name=Std ViewIvIssueCamPos
|Name/ru=Std ViewIvIssueCamPos
|MenuLocation=View → Stereo → Issue camera position
|MenuLocation=Вид → Стерео → Выводить положения камеры
|Workbenches=All
|Workbenches=All
|SeeAlso=[[Std_FreezeViews|Std FreezeViews]]
|SeeAlso=[[Std_FreezeViews/ru|Std FreezeViews]]
}}
}}


==Описание==
==Description==


The '''Std ViewIvIssueCamPos''' command prints the camera settings of the active [[3D_view|3D view]] in the [[Report_view|Report view]].
The '''Std ViewIvIssueCamPos''' command prints the camera settings of the active [[3D_view|3D view]] in the [[Report_view|Report view]] and the [[Python_console|Python console]].


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


==Применение==
==Usage==


# Select the {{MenuCommand|ViewStereo → [[Image:Std_ViewIvIssueCamPos.svg|16px]] Issue camera position}} option from the menu.
# Выберите из меню опцию {{MenuCommand|ВидСтерео → [[Image:Std_ViewIvIssueCamPos.svg|16px]] Выводить положения камеры}}.


==Примечания==
==Notes==


* The camera settings can be used to add frozen views to a *.cam file. See [[Std_FreezeViews|Std FreezeViews]].
* The camera settings can be used to add frozen views to a *.cam file. See [[Std_FreezeViews|Std FreezeViews]].
Line 35: Line 36:
==Scripting==
==Scripting==


{{Emphasis|See also:}} [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].
{{Emphasis|Смотрите так же:}} [[FreeCAD_Scripting_Basics/ru|Основы составления скриптов в FreeCAD]].


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.
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.
Line 45: Line 46:
}}
}}


{{Docnav
{{Docnav/ru
|[[Std_ViewIvStereoOff|Std ViewIvStereoOff]]
|[[Std_ViewIvStereoOff/ru|Команда "Выключить стерео"]]
|[[Std_ViewZoomIn|Std ViewZoomIn]]
|[[Std_ViewZoomIn/ru|Команда "Увеличить"]]
|[[Std_View_Menu|Std View Menu]]
|[[Std_View_Menu/ru|Меню "Вид"]]
|IconL=Std_ViewIvStereoOff.svg
|IconL=Std_ViewIvStereoOff.svg
|IconR=Std_ViewZoomIn.svg
|IconR=Std_ViewZoomIn.svg

Latest revision as of 20:47, 4 August 2021

Other languages:

Std ViewIvIssueCamPos

Системное название
Std ViewIvIssueCamPos
Расположение в меню
Вид → Стерео → Выводить положения камеры
Верстаки
All
Быстрые клавиши
Нет
Представлено в версии
-
См. также
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

Применение

  1. Выберите из меню опцию Вид → Стерео → Выводить положения камеры.

Примечания

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

Scripting

Смотрите так же: Основы составления скриптов в FreeCAD.

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