# Python: module skeinforge_tools.material

skeinforge_tools.material ($Date: 2008/21/04 $) | index /home/enrique/Desktop/backup/babbleold/script/reprap/pyRepRap/skeinforge_tools/material.py

`Material is a script to set the material preference for the skeinforge chain.
To change the material preference, in a shell in the material folder type:
> python material.py
An example of using material from the python interpreter follows below.
> python
Python 2.5.1 (r251:54863, Sep 22 2007, 01:43:31)
[GCC 4.2.1 (SUSE Linux)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import material
>>> material.main()
This brings up the material preference dialog.
>>> material.getSelectedMaterial()
ABS`

Modules

``

__init__ | skeinforge_tools.skeinforge_utilities.gcodec | skeinforge_tools.skeinforge_utilities.preferences |

Classes

``

MaterialPreferences

class MaterialPreferences
`` | `A class to handle the material preferences.`

Methods defined here:

__init__(self)
  `Set the default preferences, execute title & preferences fileName.`

Functions

``

getSelectedMaterial()
  `Get the selected material.`

main(hashtable=None)
  `Display the material dialog.`

Data
`` |  | __author__ = 'Enrique Perez (perez_enrique@yahoo.com)' __date__ = '$Date: 2008/21/04 $' __license__ = 'GPL 3.0' absolute_import = _Feature((2, 5, 0, 'alpha', 1), (2, 7, 0, 'alpha', 0), 16384)

Author
`` |  | Enrique Perez (perez_enrique@yahoo.com)