skeinforge_application.skeinforge_plugins.profile ($Date: 2008/21/04 $) | index /home/enrique/Desktop/backup/babbleold/script/reprap/fabmetheus/skeinforge_application/skeinforge_plugins/profile.py

Previous / Next / Contents

`
Profile is a script to set the craft types setting 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 setting 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 setting, 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 setting dialog.`

Previous / Next / Contents

Modules
`` |  |
__init__ fabmetheus_utilities.euclidean | os fabmetheus_utilities.settings | skeinforge_application.skeinforge_utilities.skeinforge_profile |

Classes
`` |  | ProfileMenuRadio ProfileMenuSaveListener
class ProfileMenuRadio
`` | `A class to display a profile menu radio button.`
| Methods defined here: __init__(self, profilePluginFileName, menu, name, radioVar, value) `Create a profile menu radio.` clickRadio(self) `Workaround for Tkinter bug, invoke and set the value when clicked.`
class ProfileMenuSaveListener
`` | `A class to update a profile menu.`
| Methods defined here: __init__(self, menu, window) `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(master, menu, repository, window) `Add a tool plugin menu.` addToProfileMenu(menu) `Add a profile menu.` getNewRepository() `Get the repository constructor.` main() `Display the profile 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)