Std ViewIvStereoRedGreen: Difference between revisions

From FreeCAD Documentation
(Removed 'In Progress'.)
(Marked this version for translation)
Line 2: Line 2:
<translate>
<translate>


<!--T:1-->
{{Docnav
{{Docnav
|[[Std_SelBoundingBox|Std SelBoundingBox]]
|[[Std_SelBoundingBox|Std SelBoundingBox]]
Line 11: Line 12:
}}
}}


<!--T:2-->
{{GuiCommand
{{GuiCommand
|Name=Std ViewIvStereoRedGreen
|Name=Std ViewIvStereoRedGreen
Line 18: Line 20:
}}
}}


==Description==
==Description== <!--T:3-->


<!--T:4-->
The '''Std ViewIvStereoRedGreen''' command changes the active [[3D_view|3D view]] to red/cyan, [https://en.wikipedia.org/wiki/Anaglyph_3D anaglyph], stereo view mode. To use this stereo mode glasses with colored lenses are requires.
The '''Std ViewIvStereoRedGreen''' command changes the active [[3D_view|3D view]] to red/cyan, [https://en.wikipedia.org/wiki/Anaglyph_3D anaglyph], stereo view mode. To use this stereo mode glasses with colored lenses are requires.


==Usage==
==Usage== <!--T:5-->


<!--T:6-->
# Select the {{MenuCommand|View → Stereo → [[Image:Std_ViewIvStereoRedGreen.svg|16px]] Stereo red/cyan}} option from the menu.
# Select the {{MenuCommand|View → Stereo → [[Image:Std_ViewIvStereoRedGreen.svg|16px]] Stereo red/cyan}} option from the menu.


==Preferences==
==Preferences== <!--T:7-->


<!--T:8-->
* The eye to eye distance can be changed in the preferences: {{MenuCommand|Edit → Preferences... → Display → 3D View → Eye to eye distance for stereo modes}}. See [[Preferences_Editor#3D_View|Preferences Editor]].
* The eye to eye distance can be changed in the preferences: {{MenuCommand|Edit → Preferences... → Display → 3D View → Eye to eye distance for stereo modes}}. See [[Preferences_Editor#3D_View|Preferences Editor]].


==Scripting==
==Scripting== <!--T:9-->


<!--T:10-->
{{Emphasis|See also:}} [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].
{{Emphasis|See also:}} [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].


<!--T:11-->
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.


Line 45: Line 52:
<translate>
<translate>


<!--T:12-->
{{Docnav
{{Docnav
|[[Std_SelBoundingBox|Std SelBoundingBox]]
|[[Std_SelBoundingBox|Std SelBoundingBox]]

Revision as of 20:11, 9 April 2020

Std ViewIvStereoRedGreen

Menu location
View → Stereo → Stereo red/cyan
Workbenches
All
Default shortcut
None
Introduced in version
-
See also
Std ViewIvStereoQuadBuff, Std ViewIvStereoInterleavedRows, Std ViewIvStereoInterleavedColumns, Std ViewIvStereoOff

Description

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.

Usage

  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

See also: FreeCAD Scripting Basics.

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