2 This page is in the table of contents.
3 Cutting is a script to set the cutting profile for the skeinforge chain.
5 The displayed craft sequence is the sequence in which the tools craft the model and export the output.
7 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.
9 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.
11 To change the cutting profile, in a shell in the profile_plugins folder type:
17 from __future__ import absolute_import
19 from fabmetheus_utilities import settings
20 from skeinforge_application.skeinforge_utilities import skeinforge_profile
24 __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
25 __date__ = '$Date: 2008/21/04 $'
26 __license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'
29 def getCraftSequence():
30 "Get the cutting craft sequence."
31 return 'chop preface outset multiply whittle drill lift flow feed home lash fillet limit unpause alteration export'.split()
33 def getNewRepository():
35 return CuttingRepository()
38 class CuttingRepository:
39 "A class to handle the cutting settings."
41 "Set the default settings, execute title & settings fileName."
42 skeinforge_profile.addListsSetCraftProfile( getCraftSequence(), 'end_mill', self, 'skeinforge_application.skeinforge_plugins.profile_plugins.cutting.html')
46 "Display the export dialog."
48 writeOutput(' '.join(sys.argv[1 :]))
50 settings.startMainLoopFromConstructor(getNewRepository())
52 if __name__ == "__main__":