Std ViewIvStereoRedGreen: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
Line 28: Line 28:


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

==Preferences==

* The eye to eye distance can be changed in the preferences: {{MenuCommand|Edit → Preferences... → Display → 3D View → Eye to eye distance for stereo modes}}. See [[Preferences_Editor#3D_View|Preferences Editor]].


==Scripting==
==Scripting==

Revision as of 18:24, 2 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 perspective 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()