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

Previous / Next / Contents

`
Cutting is a script to set the cutting profile for the skeinforge chain.
The displayed craft sequence is the sequence in which the tools craft the model and export the output.
On the cutting dialog, clicking the 'Add Profile' button will duplicate the selected profile and give it the name in the input field. For example, if laser is selected and the name laser_10mm is in the input field, clicking the 'Add Profile' button will duplicate laser and save it as laser_10mm. The 'Delete Profile' button deletes the selected profile.
The profile selection is the setting. If you hit 'Save and Close' the selection will be saved, if you hit 'Cancel' the selection will not be saved. However; adding and deleting a profile is a permanent action, for example 'Cancel' will not bring back any deleted profiles.
To change the cutting profile, in a shell in the profile_plugins folder type:
> python cutting.py
An example of using cutting 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 cutting
>>> cutting.main()
This brings up the cutting setting dialog.`

Previous / Next / Contents

Modules
`` |  |
__init__ | fabmetheus_utilities.settings | skeinforge_application.skeinforge_utilities.skeinforge_profile | sys

Classes
`` |  | CuttingRepository
class CuttingRepository
`` | `A class to handle the cutting settings.`
| Methods defined here: __init__(self) `Set the default settings, execute title & settings fileName.`

Functions
`` |  | getCraftSequence() `Get the cutting craft sequence.` getNewRepository() `Get the repository constructor.` main() `Display the export 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)