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

Profile is a script to set the craft types preference for the skeinforge chain.

Profile presents the user with a choice of the craft types in the profile_plugins folder. The chosen craft type is used to determine the craft type profile for the skeinforge chain. The default craft type is extrusion.

The preference is the selection. If you hit 'Save and Close' the selection will be saved, if you hit 'Cancel' the selection will not be saved.

To change the profile preference, in a shell in the profile folder type:
> python profile.py

An example of using profile 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 profile
>>> profile.main()
This brings up the profile preference dialog.

 
Modules
       
__init__
skeinforge_tools.skeinforge_utilities.euclidean
os
skeinforge_tools.skeinforge_utilities.preferences

 
Classes
       
ProfileMenuSaveListener

 
class ProfileMenuSaveListener
    A class to update a profile menu.
 
  Methods defined here:
__init__(self, menu, repository)
Set the menu.
save(self)
Profile has been saved and profile menu should be updated.

 
Functions
       
addSubmenus(craftTypeName, menu, pluginFilename, pluginPath, profileRadioVar)
Add a tool plugin menu.
addToMenu(menu, repository)
Add a tool plugin menu.
addToProfileMenu(menu)
Add a profile menu.
getRepositoryConstructor()
Get the repository constructor.
main()
Display the profile dialog.
updateProfileSaveListeners()
Call the save function of all the update profile save listeners.

 
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)