Std ViewIvStereoRedGreen: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
Line 27: Line 27:
==Usage==
==Usage==


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


==Scripting==
==Scripting==

Revision as of 12:53, 1 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 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.

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