Std ViewIvStereoRedGreen

From FreeCAD Documentation
Revision as of 17:46, 9 July 2024 by Roy 043 (talk | contribs)

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 in the preferences: 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". This method is not available if FreeCAD is in console mode.

import FreeCADGui

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