Std ViewIvStereoRedGreen: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
Line 23: Line 23:
==Description==
==Description==


The '''Std ViewIvStereoRedGreen''' command changes the active [[3D_view|3D view]] to red/cyan, [https://en.wikipedia.org/wiki/Anaglyph_3D anaglyph], stereo perspective 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==

Revision as of 17:46, 3 April 2020

This documentation is a work in progress. Please don't mark it as translatable since it will change in the next hours and days.


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