Fri 01 Feb 2013 06:12:15 PM UTC, comment #1:
The background settings done through the viewport menu are local to the viewport and not part of the user configuration.
Currently, setting/saving the canvas configuration parameters through the settings menu is disabled. You can however set change your settings by editing the user configuration file (usually ~/.pyformex/pyformexrc). Add a section like the following:
[canvas]
bgcolor = 'red'
You can also specify a list of colors (max 4).
Example for a vertical gradient:
bgcolor = [ 'red', 'red', 'green', 'green' ]
For a horizontal gradient:
bgcolor = [ 'red', 'green', 'green', 'red' ]
An alternative to changing the user configuration is to add a line to your ~/.pyformex/startup.py:
bgcolor('red')
This is not the prefered way though, becasue you will not be able to change it through the GUI once the background settings menu is restored.
|