Std ViewIvStereoRedGreen: Difference between revisions

From FreeCAD Documentation
mNo edit summary
(Marked this version for translation)
 
(2 intermediate revisions by the same user not shown)
Line 32: Line 32:
==Preferences== <!--T:7-->
==Preferences== <!--T:7-->


<!--T:13-->
See also: [[Preferences_Editor|Preferences Editor]].
See also: [[Preferences_Editor|Preferences Editor]].


<!--T:8-->
<!--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}}.
* The eye to eye distance can be changed: {{MenuCommand|Edit → Preferences... → Display → 3D View → Eye to eye distance for stereo modes}}.


==Scripting== <!--T:9-->
==Scripting== <!--T:9-->
Line 43: Line 44:


<!--T:11-->
<!--T:11-->
Use the {{incode|setStereoType}} method of the View object to change the stereo mode. The available modes are {{incode|"Anaglyph"}}, {{incode|"QuadBuffer"}}, {{incode|"InterleavedRows"}}, {{incode|"InterleavedColumns"}} and {{incode|"None"}}. This method is not available if FreeCAD is in console mode.
Use the {{incode|setStereoType}} method of the View object to change the stereo mode. The available modes are {{incode|"Anaglyph"}}, {{incode|"QuadBuffer"}}, {{incode|"InterleavedRows"}}, {{incode|"InterleavedColumns"}} and {{incode|"None"}}.


</translate>
</translate>

Latest revision as of 18:32, 9 July 2024

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 required.

Usage

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

Preferences

See also: Preferences Editor.

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

Scripting

See also: Autogenerated API documentation and FreeCAD Scripting Basics.

Use the setStereoType method of the View object to change the stereo mode. The available modes are "Anaglyph", "QuadBuffer", "InterleavedRows", "InterleavedColumns" and "None".

import FreeCADGui

view = FreeCADGui.ActiveDocument.ActiveView
view.setStereoType("Anaglyph")
view.getStereoType()