Std ViewIvStereoRedGreen: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
Line 7: Line 7:
{{Docnav
{{Docnav
|[[Std_SelBoundingBox|Std SelBoundingBox]]
|[[Std_SelBoundingBox|Std SelBoundingBox]]
|[[Std ViewIvStereoQuadBuff|Std ViewIvStereoQuadBuff]]
|[[Std_ViewIvStereoQuadBuff|Std ViewIvStereoQuadBuff]]
|[[Std_View_Menu|Std View Menu]]
|[[Std_View_Menu|Std View Menu]]
|IconL=Std_SelBoundingBox.svg
|IconL=Std_SelBoundingBox.svg

Revision as of 12:10, 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()