Std ViewIvStereoRedGreen/ru: Difference between revisions

From FreeCAD Documentation
(Created page with "==Использование==")
(Created page with "{{Emphasis|Смотри так же:}} Основы скриптов в FreeCAD.")
Line 31: Line 31:
==Scripting==
==Scripting==


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


To change the view to red/cyan stereo use the {{incode|setStereoType}} method of the ActiveView object. This method is not available if FreeCAD is in console mode.
To change the view to red/cyan stereo use the {{incode|setStereoType}} method of the ActiveView object. This method is not available if FreeCAD is in console mode.

Revision as of 18:14, 7 May 2020

Other languages:

Std ViewIvStereoRedGreen

Системное название
Std ViewIvStereoRedGreen
Расположение в меню
Вид → Стерео → Стерео красный/голубой
Верстаки
All
Быстрые клавиши
Нет
Представлено в версии
-
См. также
Std ViewIvStereoQuadBuff, Std ViewIvStereoInterleavedRows, Std ViewIvStereoInterleavedColumns, Std ViewIvStereoOff

Описание

The Std ViewIvStereoRedGreen command changes the active 3D view to red/cyan, anaglyph, stereo view mode. To use this stereo mode glasses with colored lenses are requires.

Использование

  1. Select the View → Stereo → Stereo red/cyan option from the menu.

Preferences

  • The eye to eye distance can be changed in the preferences: Edit → Preferences... → Display → 3D View → Eye to eye distance for stereo modes. See Preferences Editor.

Scripting

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

To change the view to red/cyan stereo use the setStereoType method of the ActiveView object. This method is not available if FreeCAD is in console mode.

import FreeCADGui

FreeCADGui.ActiveDocument.ActiveView.setStereoType('Anaglyph')
FreeCADGui.ActiveDocument.ActiveView.getStereoType()