Example #1
0
 def __init__(self):
     "Set the default settings, execute title & settings fileName."
     settings.addListsToRepository(
         'skeinforge_application.skeinforge_plugins.analyze_plugins.statistic.html',
         None, self)
     self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute(
         'http://www.bitsfrombytes.com/wiki/index.php?title=Skeinforge_Statistic'
     )
     self.activateStatistic = settings.BooleanSetting().getFromValue(
         'Activate Statistic', self, True)
     settings.LabelSeparator().getFromRepository(self)
     settings.LabelDisplay().getFromName('- Cost -', self)
     self.machineTime = settings.FloatSpin().getFromValue(
         0.0, 'Machine Time ($/hour):', self, 2.0, 1.0)
     self.material = settings.FloatSpin().getFromValue(
         0.0, 'Material ($/kg):', self, 20.0, 10.0)
     settings.LabelSeparator().getFromRepository(self)
     self.density = settings.FloatSpin().getFromValue(
         500.0, 'Density (kg/m3):', self, 2000.0, 930.0)
     self.extrusionDiameterOverThickness = settings.FloatSpin(
     ).getFromValue(1.0, 'Extrusion Diameter over Thickness (ratio):', self,
                    1.5, 1.25)
     self.fileNameInput = settings.FileNameInput().getFromFileName(
         [('Gcode text files', '*.gcode')],
         'Open File to Generate Statistics for', self, '')
     self.printStatistics = settings.BooleanSetting().getFromValue(
         'Print Statistics', self, True)
     self.saveStatistics = settings.BooleanSetting().getFromValue(
         'Save Statistics', self, False)
     self.executeTitle = 'Generate Statistics'
Example #2
0
 def __init__(self):
     "Set the default settings, execute title & settings fileName."
     settings.addListsToRepository(
         'skeinforge_application.skeinforge_plugins.craft_plugins.export_plugins.gcode_time.html',
         None, self)
     self.addSpaceBetweenWords = settings.BooleanSetting().getFromValue(
         'Add Space Between Words', self, True)
     self.fileNameInput = settings.FileNameInput().getFromFileName(
         [('Gcode text files', '*.gcode')],
         'Open File to be Converted to Gcode Time', self, '')
     self.initialTime = settings.FloatSpin().getFromValue(
         0.0, 'Initial Time (s)', self, 20.0, 10.0)
     settings.LabelSeparator().getFromRepository(self)
     settings.LabelDisplay().getFromName('- Offset -', self)
     self.xOffset = settings.FloatSpin().getFromValue(
         -100.0, 'X Offset (mm)', self, 100.0, 0.0)
     self.yOffset = settings.FloatSpin().getFromValue(
         -100.0, 'Y Offset (mm)', self, 100.0, 0.0)
     self.zOffset = settings.FloatSpin().getFromValue(
         -10.0, 'Z Offset (mm)', self, 10.0, 0.0)
     settings.LabelSeparator().getFromRepository(self)
     settings.LabelDisplay().getFromName('- Step -', self)
     self.extrusionStep = settings.FloatSpin().getFromValue(
         0.0, 'Extrusion Step (mm)', self, 0.2, 0.01)
     self.timeStep = settings.FloatSpin().getFromValue(
         0.0, 'Time Step (mcs)', self, 2000.0, 1000.0)
     self.xStep = settings.FloatSpin().getFromValue(0.0, 'X Step (mm)',
                                                    self, 1.0, 0.1)
     self.yStep = settings.FloatSpin().getFromValue(0.0, 'Y Step (mm)',
                                                    self, 1.0, 0.1)
     self.zStep = settings.FloatSpin().getFromValue(0.0, 'Z Step (mm)',
                                                    self, 0.2, 0.01)
     settings.LabelSeparator().getFromRepository(self)
     self.executeTitle = 'Convert to Gcode Time'
Example #3
0
 def __init__(self):
     "Set the default settings, execute title & settings fileName."
     settings.addListsToRepository("skeinforge_application.skeinforge.html", "", self)
     self.fileNameInput = settings.FileNameInput().getFromFileName(
         fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), "Open File for Skeinforge", self, ""
     )
     self.profileType = settings.MenuButtonDisplay().getFromName("Profile Type: ", self)
     self.profileSelection = settings.MenuButtonDisplay().getFromName("Profile Selection: ", self)
     addToProfileMenu(self.profileSelection, self.profileType, self)
     settings.LabelDisplay().getFromName("Search:", self)
     reprapSearch = settings.HelpPage().getFromNameAfterHTTP(
         "members.axion.net/~enrique/search_reprap.html", "Reprap", self
     )
     skeinforgeSearch = settings.HelpPage().getFromNameAfterHTTP(
         "members.axion.net/~enrique/search_skeinforge.html", "Skeinforge", self
     )
     skeinforgeSearch.column += 2
     webSearch = settings.HelpPage().getFromNameAfterHTTP("members.axion.net/~enrique/search_web.html", "Web", self)
     webSearch.column += 4
     versionText = gcodec.getFileText(gcodec.getVersionFileName())
     self.version = settings.LabelDisplay().getFromName("Version: " + versionText, self)
     settings.LabelDisplay().getFromName("", self)
     importantFileNames = ["craft", "profile"]
     getRadioPluginsAddPluginGroupFrame(getPluginsDirectoryPath(), importantFileNames, getPluginFileNames(), self)
     self.executeTitle = "Skeinforge"
Example #4
0
	def __init__(self):
		"Set the default settings, execute title & settings fileName."
		settings.addListsToRepository('skeinforge_application.skeinforge_plugins.analyze_plugins.skeinview.html', '', self )
		self.fileNameInput = settings.FileNameInput().getFromFileName( [ ('Gcode text files', '*.gcode') ], 'Open File for Skeinview', self, '')
		self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute('http://www.bitsfrombytes.com/wiki/index.php?title=Skeinforge_Skeinview')
		self.activateSkeinview = settings.BooleanSetting().getFromValue('Activate Skeinview', self, True )
		self.addAnimation()
		self.drawArrows = settings.BooleanSetting().getFromValue('Draw Arrows', self, True )
		self.goAroundExtruderOffTravel = settings.BooleanSetting().getFromValue('Go Around Extruder Off Travel', self, False )
		settings.LabelSeparator().getFromRepository(self)
		settings.LabelDisplay().getFromName('- Layers -', self )
		self.layer = settings.IntSpinNotOnMenu().getSingleIncrementFromValue( 0, 'Layer (index):', self, 912345678, 0 )
		self.layerExtraSpan = settings.IntSpinUpdate().getSingleIncrementFromValue( - 3, 'Layer Extra Span (integer):', self, 3, 0 )
		settings.LabelSeparator().getFromRepository(self)
		self.line = settings.IntSpinNotOnMenu().getSingleIncrementFromValue( 0, 'Line (index):', self, 912345678, 0 )
		self.mouseMode = settings.MenuButtonDisplay().getFromName('Mouse Mode:', self )
		self.displayLine = settings.MenuRadio().getFromMenuButtonDisplay( self.mouseMode, 'Display Line', self, True )
		self.viewMove = settings.MenuRadio().getFromMenuButtonDisplay( self.mouseMode, 'View Move', self, False )
		self.numericPointer = settings.BooleanSetting().getFromValue('Numeric Pointer', self, True )
		self.addScaleScreenSlide()
		settings.LabelSeparator().getFromRepository(self)
		settings.LabelDisplay().getFromName('- Width -', self )
		self.widthOfExtrusionThread = settings.IntSpinUpdate().getSingleIncrementFromValue( 0, 'Width of Extrusion Thread (pixels):', self, 5, 3 )
		self.widthOfSelectionThread = settings.IntSpinUpdate().getSingleIncrementFromValue( 0, 'Width of Selection Thread (pixels):', self, 10, 6 )
		self.widthOfTravelThread = settings.IntSpinUpdate().getSingleIncrementFromValue( 0, 'Width of Travel Thread (pixels):', self, 5, 1 )
		self.executeTitle = 'Skeinview'
def addListsSetCraftProfile(craftSequence, defaultProfile, repository,
                            fileNameHelp):
    "Set the craft profile repository."
    settings.addListsToRepository(fileNameHelp, repository)
    repository.craftSequenceLabel = settings.LabelDisplay().getFromName(
        'Craft Sequence: ', repository)
    craftToolStrings = []
    for craftTool in craftSequence[:-1]:
        craftToolStrings.append(
            settings.getEachWordCapitalized(craftTool) + '->')
    craftToolStrings.append(settings.getEachWordCapitalized(craftSequence[-1]))
    for craftToolStringIndex in xrange(0, len(craftToolStrings), 5):
        craftLine = ' '.join(
            craftToolStrings[craftToolStringIndex:craftToolStringIndex + 5])
        settings.LabelDisplay().getFromName(craftLine, repository)
    settings.LabelDisplay().getFromName('', repository)
    repository.profileList = ProfileList().getFromName('Profile List:',
                                                       repository)
    repository.profileListbox = ProfileListboxSetting().getFromListSetting(
        repository.profileList, 'Profile Selection:', repository,
        defaultProfile)
    repository.addListboxSelection = AddProfile(
    ).getFromProfileListboxSettingRepository(repository.profileListbox,
                                             repository)
    repository.deleteListboxSelection = DeleteProfile(
    ).getFromProfileListboxSettingRepository(repository.profileListbox,
                                             repository)
    directoryName = archive.getProfilesPath()
    archive.makeDirectory(directoryName)
    repository.windowPosition.value = '0+400'
	def __init__( self ):
		"Set the default settings, execute title & settings fileName."
		settings.addListsToRepository( 'skeinforge.skeinforge_utilities.skeinforge_analyze.html', '', self )
		self.fileNameInput = settings.FileNameInput().getFromFileName( [ ( 'Gcode text files', '*.gcode' ) ], 'Open File for Analyze', self, '' )
		importantFileNames = [ 'skeinview', 'behold', 'statistic' ]
		settings.getRadioPluginsAddPluginFrame( getPluginsDirectoryPath(), importantFileNames, getPluginFileNames(), self )
		self.executeTitle = 'Analyze'
Example #7
0
	def __init__(self):
		"Set the default settings, execute title & settings fileName."
		settings.addListsToRepository('skeinforge_application.skeinforge_plugins.analyze_plugins.skeinview.html', '', self )
		self.fileNameInput = settings.FileNameInput().getFromFileName( [ ('Gcode text files', '*.gcode') ], 'Open File for Skeinview', self, '')
		self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute('http://www.bitsfrombytes.com/wiki/index.php?title=Skeinforge_Skeinview')
		self.activateSkeinview = settings.BooleanSetting().getFromValue('Activate Skeinview', self, True )
		self.addAnimation()
		self.drawArrows = settings.BooleanSetting().getFromValue('Draw Arrows', self, True )
		self.goAroundExtruderOffTravel = settings.BooleanSetting().getFromValue('Go Around Extruder Off Travel', self, False )
		settings.LabelSeparator().getFromRepository(self)
		settings.LabelDisplay().getFromName('- Layers -', self )
		self.layer = settings.IntSpinNotOnMenu().getSingleIncrementFromValue( 0, 'Layer (index):', self, 912345678, 0 )
		self.layerExtraSpan = settings.IntSpinUpdate().getSingleIncrementFromValue( - 3, 'Layer Extra Span (integer):', self, 3, 0 )
		settings.LabelSeparator().getFromRepository(self)
		self.line = settings.IntSpinNotOnMenu().getSingleIncrementFromValue( 0, 'Line (index):', self, 912345678, 0 )
		self.mouseMode = settings.MenuButtonDisplay().getFromName('Mouse Mode:', self )
		self.displayLine = settings.MenuRadio().getFromMenuButtonDisplay( self.mouseMode, 'Display Line', self, True )
		self.viewMove = settings.MenuRadio().getFromMenuButtonDisplay( self.mouseMode, 'View Move', self, False )
		self.numericPointer = settings.BooleanSetting().getFromValue('Numeric Pointer', self, True )
		self.addScaleScreenSlide()
		settings.LabelSeparator().getFromRepository(self)
		settings.LabelDisplay().getFromName('- Width -', self )
		self.widthOfExtrusionThread = settings.IntSpinUpdate().getSingleIncrementFromValue( 0, 'Width of Extrusion Thread (pixels):', self, 5, 3 )
		self.widthOfSelectionThread = settings.IntSpinUpdate().getSingleIncrementFromValue( 0, 'Width of Selection Thread (pixels):', self, 10, 6 )
		self.widthOfTravelThread = settings.IntSpinUpdate().getSingleIncrementFromValue( 0, 'Width of Travel Thread (pixels):', self, 5, 1 )
		self.executeTitle = 'Skeinview'
Example #8
0
def forwardDeclartions():
	"Force some functions to be dynamic"
	mockRepository = settings.Repository()
	settings.addListsToRepository(None, None, mockRepository)
	settings.cancelRepository(mockRepository)
	settings.getDisplayedDialogFromConstructor(mockRepository)
	settings.getProfileBaseName(mockRepository)
	settings.getReadRepository(mockRepository)
	settings.readSettingsFromText(mockRepository, '')
	settings.saveRepository(mockRepository)
	settings.startMainLoopFromConstructor(mockRepository)
	settings.writeSettings(mockRepository)
	settings.writeSettingsPrintMessage(mockRepository)
	settings.StringSetting().getFromValue('', mockRepository, '')
	settings.StringSetting().getFromValueOnly('', mockRepository, '')
	settings.StringSetting().getFromValueOnlyAddToRepository('', mockRepository, '')
	settings.FileNameInput().getFromFileName([('','')], '', mockRepository, '')
	settings.GridVertical(0, 0).setExecutablesRepository(mockRepository)
	settings.HelpPage().setToNameRepository('', mockRepository)
	settings.HelpPage().getFromNameAfterWWW('', '', mockRepository)
	settings.HelpPage().getFromNameAfterHTTP('', '', mockRepository)
	settings.HelpPage().getFromNameSubName('', mockRepository, '')
	settings.HelpPageRepository.__init__(settings.HelpPageRepository(), mockRepository)
	settings.LabelDisplay().getFromName('', mockRepository)
	settings.LabelSeparator().getFromRepository(mockRepository)
	settings.MenuButtonDisplay().getFromName('', mockRepository)
	settings.Radio().getFromRadio(None, '', mockRepository, False)
	settings.WindowPosition().getFromValue(mockRepository, '')
	settings.RepositoryDialog(mockRepository, None).addButtons(mockRepository, None)
	settings.RepositoryDialog.__init__(RepositoryDialog(), mockRepository, None)
	gcodec.Plugins.add(settings.Plugin())
	Tkinter.Button.__init__(None, {})
Example #9
0
 def __init__(self):
     "Set the default settings, execute title & settings fileName."
     settings.addListsToRepository(
         'skeinforge_plugins.meta_plugins.description.html', '', self)
     description = 'Write your description of the profile here.\n\nSuggested format is a description, followed by a link to the profile post or web page.'
     self.descriptionText = settings.TextSetting().getFromValue(
         'Description Text:', self, description)
Example #10
0
 def __init__(self):
     "Set the default settings, execute title & settings fileName."
     #Set the default settings.
     settings.addListsToRepository(
         'skeinforge.skeinforge_tools.craft_plugins.export_plugins.binary_16_byte.html',
         '', self)
     self.fileNameInput = settings.FileNameInput().getFromFileName(
         [('Gcode text files', '*.gcode')],
         'Open File to be Converted to Binary 16 Byte', self, '')
     self.feedRateStepLength = settings.FloatSpin().getFromValue(
         0.0, 'Feed Rate Step Length (millimeters/second)', self, 1.0, 0.1)
     self.fileExtension = settings.StringSetting().getFromValue(
         'File Extension:', self, 'bin')
     settings.LabelDisplay().getFromName('Offset:', self)
     self.xOffset = settings.FloatSpin().getFromValue(
         -100.0, 'X Offset (millimeters)', self, 100.0, 0.0)
     self.yOffset = settings.FloatSpin().getFromValue(
         -100.0, 'Y Offset (millimeters)', self, 100.0, 0.0)
     self.zOffset = settings.FloatSpin().getFromValue(
         -10.0, 'Z Offset (millimeters)', self, 10.0, 0.0)
     settings.LabelDisplay().getFromName('Step Length:', self)
     self.xStepLength = settings.FloatSpin().getFromValue(
         0.0, 'X Step Length (millimeters)', self, 1.0, 0.1)
     self.yStepLength = settings.FloatSpin().getFromValue(
         0.0, 'Y Step Length (millimeters)', self, 1.0, 0.1)
     self.zStepLength = settings.FloatSpin().getFromValue(
         0.0, 'Z Step Length (millimeters)', self, 0.2, 0.01)
     #Create the archive, title of the execute button, title of the dialog & settings fileName.
     self.executeTitle = 'Convert to Binary 16 Byte'
Example #11
0
 def __init__(self):
     "Set the default settings, execute title & settings fileName."
     #Set the default settings.
     settings.addListsToRepository(
         'skeinforge.skeinforge_tools.craft_plugins.export_plugins.gcode_step.html',
         '', self)
     self.addFeedRateEvenWhenUnchanging = settings.BooleanSetting(
     ).getFromValue('Add Feed Rate Even When Unchanging', self, True)
     self.addSpaceBetweenWords = settings.BooleanSetting().getFromValue(
         'Add Space Between Words', self, True)
     self.addZEvenWhenUnchanging = settings.BooleanSetting().getFromValue(
         'Add Z Even When Unchanging', self, True)
     self.fileNameInput = settings.FileNameInput().getFromFileName(
         [('Gcode text files', '*.gcode')],
         'Open File to be Converted to Gcode Step', self, '')
     self.feedRateStepLength = settings.FloatSpin().getFromValue(
         0.0, 'Feed Rate Step Length (millimeters/second)', self, 1.0, 0.1)
     settings.LabelDisplay().getFromName('Offset:', self)
     self.xOffset = settings.FloatSpin().getFromValue(
         -100.0, 'X Offset (millimeters)', self, 100.0, 0.0)
     self.yOffset = settings.FloatSpin().getFromValue(
         -100.0, 'Y Offset (millimeters)', self, 100.0, 0.0)
     self.zOffset = settings.FloatSpin().getFromValue(
         -10.0, 'Z Offset (millimeters)', self, 10.0, 0.0)
     self.radiusStepLength = settings.FloatSpin().getFromValue(
         0.0, 'Radius Step Length (millimeters)', self, 1.0, 0.1)
     settings.LabelDisplay().getFromName('Step Length:', self)
     self.xStepLength = settings.FloatSpin().getFromValue(
         0.0, 'X Step Length (millimeters)', self, 1.0, 0.1)
     self.yStepLength = settings.FloatSpin().getFromValue(
         0.0, 'Y Step Length (millimeters)', self, 1.0, 0.1)
     self.zStepLength = settings.FloatSpin().getFromValue(
         0.0, 'Z Step Length (millimeters)', self, 0.2, 0.01)
     #Create the archive, title of the execute button, title of the dialog & settings fileName.
     self.executeTitle = 'Convert to Gcode Step'
Example #12
0
 def __init__(self):
     "Set the default settings, execute title & settings fileName."
     settings.addListsToRepository('skeinforge.skeinforge.html', '', self)
     self.fileNameInput = settings.FileNameInput().getFromFileName(
         fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(),
         'Open File for Skeinforge', self, '')
     versionText = gcodec.getFileText(gcodec.getVersionFileName())
     self.createdOnLabel = settings.LabelDisplay().getFromName(
         'Created On: ' + versionText, self)
     self.profileType = settings.MenuButtonDisplay().getFromName(
         'Profile Type: ', self)
     self.profileSelection = settings.MenuButtonDisplay().getFromName(
         'Profile Selection: ', self)
     addToProfileMenu(self.profileSelection, self.profileType, self)
     settings.LabelDisplay().getFromName('Search:', self)
     reprapSearch = settings.HelpPage().getFromNameAfterHTTP(
         'members.axion.net/~enrique/search_reprap.html', 'Reprap', self)
     skeinforgeSearch = settings.HelpPage().getFromNameAfterHTTP(
         'members.axion.net/~enrique/search_skeinforge.html', 'Skeinforge',
         self)
     skeinforgeSearch.column += 2
     webSearch = settings.HelpPage().getFromNameAfterHTTP(
         'members.axion.net/~enrique/search_web.html', 'Web', self)
     webSearch.column += 4
     settings.LabelDisplay().getFromName('', self)
     importantFileNames = ['craft', 'profile']
     getRadioPluginsAddPluginGroupFrame(getPluginsDirectoryPath(),
                                        importantFileNames,
                                        getPluginFileNames(), self)
     self.executeTitle = 'Skeinforge'
Example #13
0
	def __init__( self ):
		"Set the default settings, execute title & settings fileName."
		settings.addListsToRepository( 'skeinforge.skeinforge_utilities.skeinforge_help.html', '', self )
		settings.LabelDisplay().getFromName( '- Announcements -', self )
		settings.LabelDisplay().getFromName( 'Fabmetheus Blog, Announcements & Questions:', self )
		settings.HelpPage().getFromNameAfterHTTP( 'fabmetheus.blogspot.com/', 'Fabmetheus Blog', self )
		settings.LabelSeparator().getFromRepository( self )
		settings.LabelDisplay().getFromName( '- Documentation -', self )
		settings.LabelDisplay().getFromName( 'Index of Local Documentation: ', self )
		settings.HelpPage().getFromNameSubName( 'Index', self )
		settings.LabelDisplay().getFromName( 'Wiki Manual with Pictures & Charts: ', self )
		settings.HelpPage().getFromNameAfterWWW( 'bitsfrombytes.com/wiki/index.php?title=Skeinforge', 'Wiki Manual', self )
		settings.LabelDisplay().getFromName( 'Skeinforge Overview: ', self )
		settings.HelpPage().getFromNameSubName( 'Skeinforge Overview', self, 'skeinforge.html' )
		settings.LabelSeparator().getFromRepository( self )
		settings.LabelDisplay().getFromName( '- Forums -', self )
		settings.LabelDisplay().getFromName( 'Bits from Bytes Printing Board:', self )
		settings.HelpPage().getFromNameAfterWWW( 'bitsfrombytes.com/fora/user/index.php?board=5.0', 'Bits from Bytes Printing Board', self )
		settings.LabelDisplay().getFromName( 'Bits from Bytes Software Board:', self )
		settings.HelpPage().getFromNameAfterWWW( 'bitsfrombytes.com/fora/user/index.php?board=4.0', 'Bits from Bytes Software Board', self )
		settings.LabelDisplay().getFromName( 'Skeinforge Contributions Thread:', self )
		settings.HelpPage().getFromNameAfterHTTP( 'dev.forums.reprap.org/read.php?12,27562', 'Skeinforge Contributions Thread', self )
		settings.LabelDisplay().getFromName( 'Skeinforge Settings Thread:', self )
		settings.HelpPage().getFromNameAfterHTTP( 'dev.forums.reprap.org/read.php?12,27434', 'Skeinforge Settings Thread', self )
		settings.LabelSeparator().getFromRepository( self )
		settings.LabelDisplay().getFromName( '- Search -', self )
		settings.LabelDisplay().getFromName( 'Reprap Search:', self )
		settings.HelpPage().getFromNameAfterHTTP( 'members.axion.net/~enrique/search_reprap.html', 'Reprap Search', self )
		settings.LabelDisplay().getFromName( 'Skeinforge Search:', self )
		settings.HelpPage().getFromNameAfterHTTP( 'members.axion.net/~enrique/search_skeinforge.html', 'Skeinforge Search', self )
		settings.LabelDisplay().getFromName( 'Web Search:', self )
		settings.HelpPage().getFromNameAfterHTTP( 'members.axion.net/~enrique/search_web.html', 'Web Search', self )
		settings.LabelSeparator().getFromRepository( self )
		self.wikiManualPrimary = settings.BooleanSetting().getFromValue( 'Wiki Manual Primary', self, True )
		self.wikiManualPrimary.setUpdateFunction( self.save )
Example #14
0
def addListsSetCraftProfile(craftSequence, defaultProfile, repository, fileNameHelp):
    "Set the craft profile repository."
    settings.addListsToRepository(fileNameHelp, repository)
    repository.craftSequenceLabel = settings.LabelDisplay().getFromName("Craft Sequence: ", repository)
    craftToolStrings = []
    for craftTool in craftSequence[:-1]:
        craftToolStrings.append(settings.getEachWordCapitalized(craftTool) + "->")
    craftToolStrings.append(settings.getEachWordCapitalized(craftSequence[-1]))
    for craftToolStringIndex in xrange(0, len(craftToolStrings), 5):
        craftLine = " ".join(craftToolStrings[craftToolStringIndex : craftToolStringIndex + 5])
        settings.LabelDisplay().getFromName(craftLine, repository)
    settings.LabelDisplay().getFromName("", repository)
    repository.profileList = ProfileList().getFromName("Profile List:", repository)
    repository.profileListbox = ProfileListboxSetting().getFromListSetting(
        repository.profileList, "Profile Selection:", repository, defaultProfile
    )
    repository.addListboxSelection = AddProfile().getFromProfileListboxSettingRepository(
        repository.profileListbox, repository
    )
    repository.deleteListboxSelection = DeleteProfile().getFromProfileListboxSettingRepository(
        repository.profileListbox, repository
    )
    directoryName = archive.getProfilesPath()
    archive.makeDirectory(directoryName)
    repository.windowPosition.value = "0+400"
Example #15
0
	def __init__(self):
		"Set the default settings, execute title & settings fileName."
		settings.addListsToRepository('skeinforge_application.skeinforge_plugins.analyze_plugins.comment.html', None, self )
		self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute('http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Comment')
		self.activateComment = settings.BooleanSetting().getFromValue('Activate Comment', self, False )
		self.fileNameInput = settings.FileNameInput().getFromFileName( [ ('Gcode text files', '*.gcode') ], 'Open File to Write Comments for', self, '')
		self.executeTitle = 'Write Comments'
	def __init__(self):
		"Set the default settings, execute title & settings fileName."
		settings.addListsToRepository('skeinforge_application.skeinforge_utilities.skeinforge_analyze.html', None, self )
		self.fileNameInput = settings.FileNameInput().getFromFileName( [ ('Gcode text files', '*.gcode') ], 'Open File for Analyze', self, '')
		importantFileNames = ['skeiniso', 'skeinlayer', 'statistic']
		settings.getRadioPluginsAddPluginFrame( getPluginsDirectoryPath(), importantFileNames, getPluginFileNames(), self )
		self.executeTitle = 'Analyze'
	def __init__(self):
		"Set the default settings, execute title & settings fileName."
		settings.addListsToRepository('skeinforge_application.skeinforge_utilities.skeinforge_plugins.polyfile.html', '', self )
		self.directoryOrFileChoiceLabel = settings.LabelDisplay().getFromName('Directory or File Choice: ', self )
		directoryLatentStringVar = settings.LatentStringVar()
		self.directorySetting = settings.Radio().getFromRadio( directoryLatentStringVar, 'Execute All Unmodified Files in a Directory', self, False )
		self.fileSetting = settings.Radio().getFromRadio( directoryLatentStringVar, 'Execute File', self, True )
Example #18
0
	def __init__(self):
		"Set the default settings, execute title & settings fileName."
		settings.addListsToRepository('skeinforge_application.skeinforge_utilities.skeinforge_plugins.polyfile.html', None, self )
		self.directoryOrFileChoiceLabel = settings.LabelDisplay().getFromName('Directory or File Choice: ', self )
		directoryLatentStringVar = settings.LatentStringVar()
		self.directorySetting = settings.Radio().getFromRadio( directoryLatentStringVar, 'Execute All Unmodified Files in a Directory', self, False )
		self.fileSetting = settings.Radio().getFromRadio( directoryLatentStringVar, 'Execute File', self, True )
Example #19
0
 def __init__(self):
     "Set the default settings, execute title & settings fileName."
     settings.addListsToRepository("skeinforge_application.skeinforge_utilities.skeinforge_meta.html", "", self)
     importantFileNames = ["polyfile"]
     settings.getRadioPluginsAddPluginFrame(
         getPluginsDirectoryPath(), importantFileNames, getPluginFileNames(), self
     )
	def __init__(self):
		"Set the default settings, execute title & settings fileName."
		settings.addListsToRepository('skeinforge_application.skeinforge_plugins.analyze_plugins.interpret.html', '', self )
		self.fileNameInput = settings.FileNameInput().getFromFileName( getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Interpret', self, '')
		self.activateInterpret = settings.BooleanSetting().getFromValue('Activate Interpret', self, False )
		self.printInterpretion = settings.BooleanSetting().getFromValue('Print Interpretion', self, False )
		self.textProgram = settings.StringSetting().getFromValue('Text Program:', self, 'webbrowser')
		self.executeTitle = 'Interpret'
Example #21
0
 def __init__(self):
     "Set the default settings, execute title & settings fileName."
     settings.addListsToRepository(
         'skeinforge.skeinforge_utilities.skeinforge_meta.html', '', self)
     importantFileNames = ['polyfile']
     settings.getRadioPluginsAddPluginFrame(getPluginsDirectoryPath(),
                                            importantFileNames,
                                            getPluginFileNames(), self)
Example #22
0
	def __init__(self):
		"Set the default settings, execute title & settings fileName."
		settings.addListsToRepository('skeinforge_application.skeinforge_plugins.craft_plugins.home.html', None, self )
		self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Home', self, '')
		self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute('http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_home')
		self.activateHome = settings.BooleanSetting().getFromValue('Activate Home', self, True )
		self.nameOfHomingFile = settings.StringSetting().getFromValue('Name of Homing File:', self, 'homing.gcode')
		self.executeTitle = 'Home'
	def __init__( self ):
		"Set the default settings, execute title & settings fileName."
		settings.addListsToRepository( 'skeinforge_plugins.analyze_plugins.interpret.html', '', self )
		self.fileNameInput = settings.FileNameInput().getFromFileName( getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Interpret', self, '' )
		self.activateInterpret = settings.BooleanSetting().getFromValue( 'Activate Interpret', self, False )
		self.printInterpretion = settings.BooleanSetting().getFromValue( 'Print Interpretion', self, False )
		self.textProgram = settings.StringSetting().getFromValue( 'Text Program:', self, 'webbrowser' )
		self.executeTitle = 'Interpret'
Example #24
0
	def __init__( self ):
		"Set the default settings, execute title & settings fileName."
		settings.addListsToRepository( 'skeinforge_plugins.analyze_plugins.comment.html', '', self )
		self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute( 'http://www.bitsfrombytes.com/wiki/index.php?title=Skeinforge_Comment' )
		self.activateComment = settings.BooleanSetting().getFromValue( 'Activate Comment', self, False )
		self.fileNameInput = settings.FileNameInput().getFromFileName( [ ( 'Gcode text files', '*.gcode' ) ], 'Open File to Write Comments for', self, '' )
		#Create the archive, title of the execute button, title of the dialog & settings fileName.
		self.executeTitle = 'Write Comments'
Example #25
0
 def __init__(self):
     "Set the default settings, execute title & settings fileName."
     settings.addListsToRepository(
         'skeinforge.skeinforge_tools.analyze_plugins.export_canvas_plugins.svg.html',
         '', self)
     self.fileExtension = settings.StringSetting().getFromValue(
         'File Extension:', self, '')
     self.svgProgram = settings.StringSetting().getFromValue(
         'Scalable Vector Graphics Program:', self, 'netscape')
Example #26
0
	def __init__(self):
		"Set the default settings, execute title & settings fileName."
		settings.addListsToRepository('skeinforge_application.skeinforge_plugins.craft_plugins.lash.html', None, self )
		self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Lash', self, '')
		self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute('http://www.bitsfrombytes.com/wiki/index.php?title=Skeinforge_Lash')
		self.activateLash = settings.BooleanSetting().getFromValue('Activate Lash', self, False )
		self.xBacklash = settings.FloatSpin().getFromValue( 0.1, 'X Backlash (mm):', self, 0.5, 0.2 )
		self.yBacklash = settings.FloatSpin().getFromValue( 0.1, 'Y Backlash (mm):', self, 0.5, 0.3 )
		self.executeTitle = 'Lash'
Example #27
0
 def __init__(self):
     "Set the default settings, execute title & settings fileName."
     settings.addListsToRepository(
         'skeinforge_application.skeinforge_plugins.analyze_plugins.export_canvas_plugins.postscript.html',
         None, self)
     self.fileExtension = settings.StringSetting().getFromValue(
         'File Extension:', self, '')
     self.postscriptProgram = settings.StringSetting().getFromValue(
         'Postscript Program:', self, 'gimp')
Example #28
0
 def __init__(self):
     "Set the default settings, execute title & settings fileName."
     settings.addListsToRepository(
         'skeinforge_plugins.analyze_plugins.export_canvas_plugins.postscript.html',
         '', self)
     self.fileExtension = settings.StringSetting().getFromValue(
         'File Extension:', self, '')
     self.postscriptProgram = settings.StringSetting().getFromValue(
         'Postscript Program:', self, 'gimp')
Example #29
0
	def __init__(self):
		"Set the default settings, execute title & settings fileName."
		settings.addListsToRepository('skeinforge_application.skeinforge_plugins.craft_plugins.lash.html', '', self )
		self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Lash', self, '')
		self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute('http://www.bitsfrombytes.com/wiki/index.php?title=Skeinforge_Lash')
		self.activateLash = settings.BooleanSetting().getFromValue('Activate Lash', self, False )
		self.xBacklash = settings.FloatSpin().getFromValue( 0.1, 'X Backlash (mm):', self, 0.5, 0.2 )
		self.yBacklash = settings.FloatSpin().getFromValue( 0.1, 'Y Backlash (mm):', self, 0.5, 0.3 )
		self.executeTitle = 'Lash'
Example #30
0
	def __init__( self ):
		"Set the default settings, execute title & settings fileName."
		settings.addListsToRepository( 'skeinforge.skeinforge_utilities.skeinforge_craft.html', '', self )
		self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Craft', self, '' )
		self.importantFileNames = ['bfb', 'carve', 'chop', 'feed', 'flow', 'lift', 'raft', 'speed' ]
		allCraftNames = gcodec.getPluginFileNamesFromDirectoryPath( getPluginsDirectoryPath() )
		radioPlugins = settings.getRadioPluginsAddPluginFrame( getPluginsDirectoryPath(), self.importantFileNames, allCraftNames, self )
		CraftRadioButtonsSaveListener().getFromRadioPlugins( radioPlugins, self )
		self.executeTitle = 'Craft'
Example #31
0
	def __init__(self):
		"Set the default settings, execute title & settings fileName."
		settings.addListsToRepository('skeinforge_application.skeinforge_plugins.craft_plugins.unpause.html', '', self )
		self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Unpause', self, '')
		self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute('http://www.bitsfrombytes.com/wiki/index.php?title=Skeinforge_Unpause')
		self.activateUnpause = settings.BooleanSetting().getFromValue('Activate Unpause', self, False )
		self.delay = settings.FloatSpin().getFromValue( 2.0, 'Delay (milliseconds):', self, 42.0, 28.0 )
		self.maximumSpeed = settings.FloatSpin().getFromValue( 1.1, 'Maximum Speed (ratio):', self, 1.9, 1.3 )
		self.executeTitle = 'Unpause'
Example #32
0
 def __init__(self):
     "Set the default settings, execute title & settings fileName."
     settings.addListsToRepository(
         'skeinforge_application.skeinforge_plugins.analyze_plugins.export_canvas_plugins.scalable_vector_graphics.html',
         '', self)
     self.fileExtension = settings.StringSetting().getFromValue(
         'File Extension:', self, '')
     self.svgViewer = settings.StringSetting().getFromValue(
         'SVG Viewer:', self, 'webbrowser')
Example #33
0
	def __init__(self):
		"Set the default settings, execute title & settings fileName."
		settings.addListsToRepository('skeinforge_application.skeinforge_plugins.craft_plugins.unpause.html', None, self )
		self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Unpause', self, '')
		self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute('http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Unpause')
		self.activateUnpause = settings.BooleanSetting().getFromValue('Activate Unpause', self, False )
		self.delay = settings.FloatSpin().getFromValue( 2.0, 'Delay (milliseconds):', self, 42.0, 28.0 )
		self.maximumSpeed = settings.FloatSpin().getFromValue( 1.1, 'Maximum Speed (ratio):', self, 1.9, 1.3 )
		self.executeTitle = 'Unpause'
Example #34
0
	def __init__(self):
		"Set the default settings, execute title & settings fileName."
		settings.addListsToRepository('skeinforge_application.skeinforge_utilities.skeinforge_craft.html', None, self )
		self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Craft', self, '')
		self.importantFileNames = ['carve', 'chop', 'feed', 'flow', 'lift', 'raft', 'speed']
		allCraftNames = archive.getPluginFileNamesFromDirectoryPath( getPluginsDirectoryPath() )
		radioPlugins = settings.getRadioPluginsAddPluginFrame( getPluginsDirectoryPath(), self.importantFileNames, allCraftNames, self )
		CraftRadioButtonsSaveListener().getFromRadioPlugins( radioPlugins, self )
		self.executeTitle = 'Craft'
Example #35
0
	def __init__( self ):
		"Set the default settings, execute title & settings fileName."
		settings.addListsToRepository( 'skeinforge.skeinforge_tools.analyze_plugins.statistic.html', '', self )
		self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute( 'http://www.bitsfrombytes.com/wiki/index.php?title=Skeinforge_Statistic' )
		self.activateStatistic = settings.BooleanSetting().getFromValue( 'Activate Statistic', self, True )
		self.extrusionDiameterOverThickness = settings.FloatSpin().getFromValue( 1.0, 'Extrusion Diameter over Thickness (ratio):', self, 1.5, 1.25 )
		self.fileNameInput = settings.FileNameInput().getFromFileName( [ ( 'Gcode text files', '*.gcode' ) ], 'Open File to Generate Statistics for', self, '' )
		self.printStatistics = settings.BooleanSetting().getFromValue( 'Print Statistics', self, True )
		self.saveStatistics = settings.BooleanSetting().getFromValue( 'Save Statistics', self, False )
		self.executeTitle = 'Generate Statistics'
def addListsToCraftTypeRepository( fileNameHelp, repository ):
	"Add the value to the lists."
	settings.addListsToRepository( fileNameHelp, getProfileDirectory, repository )
	dotsMinusOne = fileNameHelp.count( '.' ) - 1
	x = 0
	xAddition = 400
	for step in xrange( dotsMinusOne ):
		x += xAddition
		xAddition /= 2
	repository.windowPosition.value = '%s+0' % x
Example #37
0
	def __init__(self):
		"Set the default settings, execute title & settings fileName."
		settings.addListsToRepository('skeinforge_application.skeinforge_plugins.analyze_plugins.skeiniso.html', None, self )
		self.baseNameSynonym = 'behold.csv'
		self.fileNameInput = settings.FileNameInput().getFromFileName( [ ('Gcode text files', '*.gcode') ], 'Open File for Skeiniso', self, '')
		self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute('http://www.bitsfrombytes.com/wiki/index.php?title=Skeinforge_Skeiniso')
		self.activateSkeiniso = settings.BooleanSetting().getFromValue('Activate Skeiniso', self, True )
		self.addAnimation()
		self.axisRulings = settings.BooleanSetting().getFromValue('Axis Rulings', self, True )
		settings.LabelSeparator().getFromRepository(self)
		settings.LabelDisplay().getFromName('- Banding -', self )
		self.bandHeight = settings.IntSpinUpdate().getFromValue( 0, 'Band Height (layers):', self, 10, 5 )
		self.bottomBandBrightness = settings.FloatSpinUpdate().getFromValue( 0.0, 'Bottom Band Brightness (ratio):', self, 1.0, 0.7 )
		self.bottomLayerBrightness = settings.FloatSpinUpdate().getFromValue( 0.0, 'Bottom Layer Brightness (ratio):', self, 1.0, 1.0 )
		self.brightBandStart = settings.MenuButtonDisplay().getFromName('Bright Band Start:', self )
		self.fromTheBottom = settings.MenuRadio().getFromMenuButtonDisplay( self.brightBandStart, 'From the Bottom', self, False )
		self.fromTheTop = settings.MenuRadio().getFromMenuButtonDisplay( self.brightBandStart, 'From the Top', self, True )
		settings.LabelSeparator().getFromRepository(self)
		self.drawArrows = settings.BooleanSetting().getFromValue('Draw Arrows', self, False )
		self.goAroundExtruderOffTravel = settings.BooleanSetting().getFromValue('Go Around Extruder Off Travel', self, False )
		settings.LabelSeparator().getFromRepository(self)
		settings.LabelDisplay().getFromName('- Layers -', self )
		self.layer = settings.IntSpinNotOnMenu().getSingleIncrementFromValue( 0, 'Layer (index):', self, 912345678, 0 )
		self.layerExtraSpan = settings.IntSpinUpdate().getSingleIncrementFromValue( - 912345678, 'Layer Extra Span (integer):', self, 912345678, 912345678 )
		settings.LabelSeparator().getFromRepository(self)
		self.line = settings.IntSpinNotOnMenu().getSingleIncrementFromValue( 0, 'Line (index):', self, 912345678, 0 )
		self.mouseMode = settings.MenuButtonDisplay().getFromName('Mouse Mode:', self )
		self.displayLine = settings.MenuRadio().getFromMenuButtonDisplay( self.mouseMode, 'Display Line', self, True )
		self.viewMove = settings.MenuRadio().getFromMenuButtonDisplay( self.mouseMode, 'View Move', self, False )
		self.viewRotate = settings.MenuRadio().getFromMenuButtonDisplay( self.mouseMode, 'View Rotate', self, False )
		settings.LabelSeparator().getFromRepository(self)
		settings.LabelDisplay().getFromName('- Number of Fill Layers -', self )
		self.numberOfFillBottomLayers = settings.IntSpinUpdate().getFromValue( 0, 'Number of Fill Bottom Layers (integer):', self, 5, 1 )
		self.numberOfFillTopLayers = settings.IntSpinUpdate().getFromValue( 0, 'Number of Fill Top Layers (integer):', self, 5, 1 )
		settings.LabelSeparator().getFromRepository(self)
		self.addScaleScreenSlide()
		settings.LabelSeparator().getFromRepository(self)
		settings.LabelDisplay().getFromName('- Viewpoint -', self )
		self.viewpointLatitude = settings.FloatSpin().getFromValue( 0.0, 'Viewpoint Latitude (degrees):', self, 180.0, 15.0 )
		self.viewpointLongitude = settings.FloatSpin().getFromValue( 0.0, 'Viewpoint Longitude (degrees):', self, 360.0, 210.0 )
		settings.LabelSeparator().getFromRepository(self)
		settings.LabelDisplay().getFromName('- Width -', self )
		self.widthOfAxisNegativeSide = settings.IntSpinUpdate().getFromValue( 0, 'Width of Axis Negative Side (pixels):', self, 10, 2 )
		self.widthOfAxisPositiveSide = settings.IntSpinUpdate().getFromValue( 0, 'Width of Axis Positive Side (pixels):', self, 10, 6 )
		self.widthOfFillBottomThread = settings.IntSpinUpdate().getFromValue( 0, 'Width of Fill Bottom Thread (pixels):', self, 10, 2 )
		self.widthOfFillTopThread = settings.IntSpinUpdate().getFromValue( 0, 'Width of Fill Top Thread (pixels):', self, 10, 2 )
		self.widthOfInfillThread = settings.IntSpinUpdate().getFromValue( 0, 'Width of Infill Thread (pixels):', self, 10, 1 )
		self.widthOfLoopThread = settings.IntSpinUpdate().getFromValue( 0, 'Width of Loop Thread (pixels):', self, 10, 2 )
		self.widthOfPerimeterInsideThread = settings.IntSpinUpdate().getFromValue( 0, 'Width of Perimeter Inside Thread (pixels):', self, 10, 8 )
		self.widthOfPerimeterOutsideThread = settings.IntSpinUpdate().getFromValue( 0, 'Width of Perimeter Outside Thread (pixels):', self, 10, 8 )
		self.widthOfRaftThread = settings.IntSpinUpdate().getFromValue( 0, 'Width of Raft Thread (pixels):', self, 10, 1 )
		self.widthOfSelectionThread = settings.IntSpinUpdate().getFromValue( 0, 'Width of Selection Thread (pixels):', self, 10, 6 )
		self.widthOfTravelThread = settings.IntSpinUpdate().getFromValue( 0, 'Width of Travel Thread (pixels):', self, 10, 0 )
		self.executeTitle = 'Skeiniso'
Example #38
0
	def __init__(self):
		"Set the default entities, execute title & repository fileName."
		settings.addListsToRepository('skeinforge_application.skeinforge_utilities.skeinforge_profile.html', self)
		importantFileNames = ['extrusion']
		self.craftRadios = settings.getRadioPluginsAddPluginFrame( getPluginsDirectoryPath(), importantFileNames, getPluginFileNames(), self )
		ProfilePluginRadioButtonsSaveListener().getFromRadioPlugins( self.craftRadios, self )
		for craftRadio in self.craftRadios:
			craftRadio.updateFunction = self.updateRelay
		directoryName = archive.getProfilesPath()
		archive.makeDirectory(directoryName)
		self.windowPosition.value = '0+200'
Example #39
0
def addListsToCraftTypeRepository(fileNameHelp, repository):
    "Add the value to the lists."
    settings.addListsToRepository(fileNameHelp, getProfileDirectory,
                                  repository)
    dotsMinusOne = fileNameHelp.count('.') - 1
    x = 0
    xAddition = 400
    for step in xrange(dotsMinusOne):
        x += xAddition
        xAddition /= 2
    repository.windowPosition.value = '%s+0' % x
	def __init__( self ):
		"Set the default entities, execute title & repository fileName."
		settings.addListsToRepository( 'skeinforge.skeinforge_utilities.skeinforge_profile.html', '', self )
		importantFileNames = [ 'extrusion' ]
		self.craftRadios = settings.getRadioPluginsAddPluginFrame( getPluginsDirectoryPath(), importantFileNames, getPluginFileNames(), self )
		ProfilePluginRadioButtonsSaveListener().getFromRadioPlugins( self.craftRadios, self )
		for craftRadio in self.craftRadios:
			craftRadio.updateFunction = self.updateRelay
		directoryName = settings.getProfilesDirectoryPath()
		settings.makeDirectory( directoryName )
		self.windowPosition.value = '0+200'
 def __init__(self):
     "Set the default settings, execute title & settings fileName."
     settings.addListsToRepository(
         'skeinforge.skeinforge_tools.meta_plugins.interpret.html', '',
         self)
     self.fileNameInput = settings.FileNameInput().getFromFileName(
         getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Interpret',
         self, '')
     self.printInterpretion = settings.BooleanSetting().getFromValue(
         'Print Interpretion', self, False)
     self.executeTitle = 'Interpret'
Example #42
0
	def __init__(self):
		"Set the default settings, execute title & settings fileName."
		settings.addListsToRepository('skeinforge_application.skeinforge_plugins.analyze_plugins.behold.html', '', self )
		self.fileNameInput = settings.FileNameInput().getFromFileName( [ ('Gcode text files', '*.gcode') ], 'Open File for Behold', self, '')
		self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute('http://www.bitsfrombytes.com/wiki/index.php?title=Skeinforge_Behold')
		self.activateBehold = settings.BooleanSetting().getFromValue('Activate Behold', self, True )
		self.addAnimation()
		self.axisRulings = settings.BooleanSetting().getFromValue('Axis Rulings', self, True )
		settings.LabelSeparator().getFromRepository(self)
		settings.LabelDisplay().getFromName('- Banding -', self )
		self.bandHeight = settings.IntSpinUpdate().getFromValue( 0, 'Band Height (layers):', self, 10, 5 )
		self.bottomBandBrightness = settings.FloatSpinUpdate().getFromValue( 0.0, 'Bottom Band Brightness (ratio):', self, 1.0, 0.7 )
		self.bottomLayerBrightness = settings.FloatSpinUpdate().getFromValue( 0.0, 'Bottom Layer Brightness (ratio):', self, 1.0, 1.0 )
		self.brightBandStart = settings.MenuButtonDisplay().getFromName('Bright Band Start:', self )
		self.fromTheBottom = settings.MenuRadio().getFromMenuButtonDisplay( self.brightBandStart, 'From the Bottom', self, False )
		self.fromTheTop = settings.MenuRadio().getFromMenuButtonDisplay( self.brightBandStart, 'From the Top', self, True )
		settings.LabelSeparator().getFromRepository(self)
		self.drawArrows = settings.BooleanSetting().getFromValue('Draw Arrows', self, False )
		self.goAroundExtruderOffTravel = settings.BooleanSetting().getFromValue('Go Around Extruder Off Travel', self, False )
		settings.LabelSeparator().getFromRepository(self)
		settings.LabelDisplay().getFromName('- Layers -', self )
		self.layer = settings.IntSpinNotOnMenu().getSingleIncrementFromValue( 0, 'Layer (index):', self, 912345678, 0 )
		self.layerExtraSpan = settings.IntSpinUpdate().getSingleIncrementFromValue( - 912345678, 'Layer Extra Span (integer):', self, 912345678, 912345678 )
		settings.LabelSeparator().getFromRepository(self)
		self.line = settings.IntSpinNotOnMenu().getSingleIncrementFromValue( 0, 'Line (index):', self, 912345678, 0 )
		self.mouseMode = settings.MenuButtonDisplay().getFromName('Mouse Mode:', self )
		self.displayLine = settings.MenuRadio().getFromMenuButtonDisplay( self.mouseMode, 'Display Line', self, True )
		self.viewMove = settings.MenuRadio().getFromMenuButtonDisplay( self.mouseMode, 'View Move', self, False )
		self.viewRotate = settings.MenuRadio().getFromMenuButtonDisplay( self.mouseMode, 'View Rotate', self, False )
		settings.LabelSeparator().getFromRepository(self)
		settings.LabelDisplay().getFromName('- Number of Fill Layers -', self )
		self.numberOfFillBottomLayers = settings.IntSpinUpdate().getFromValue( 0, 'Number of Fill Bottom Layers (integer):', self, 5, 1 )
		self.numberOfFillTopLayers = settings.IntSpinUpdate().getFromValue( 0, 'Number of Fill Top Layers (integer):', self, 5, 1 )
		settings.LabelSeparator().getFromRepository(self)
		self.addScaleScreenSlide()
		settings.LabelSeparator().getFromRepository(self)
		settings.LabelDisplay().getFromName('- Viewpoint -', self )
		self.viewpointLatitude = settings.FloatSpin().getFromValue( 0.0, 'Viewpoint Latitude (degrees):', self, 180.0, 15.0 )
		self.viewpointLongitude = settings.FloatSpin().getFromValue( 0.0, 'Viewpoint Longitude (degrees):', self, 360.0, 210.0 )
		settings.LabelSeparator().getFromRepository(self)
		settings.LabelDisplay().getFromName('- Width -', self )
		self.widthOfAxisNegativeSide = settings.IntSpinUpdate().getFromValue( 0, 'Width of Axis Negative Side (pixels):', self, 10, 2 )
		self.widthOfAxisPositiveSide = settings.IntSpinUpdate().getFromValue( 0, 'Width of Axis Positive Side (pixels):', self, 10, 6 )
		self.widthOfFillBottomThread = settings.IntSpinUpdate().getFromValue( 0, 'Width of Fill Bottom Thread (pixels):', self, 10, 2 )
		self.widthOfFillTopThread = settings.IntSpinUpdate().getFromValue( 0, 'Width of Fill Top Thread (pixels):', self, 10, 2 )
		self.widthOfInfillThread = settings.IntSpinUpdate().getFromValue( 0, 'Width of Infill Thread (pixels):', self, 10, 1 )
		self.widthOfLoopThread = settings.IntSpinUpdate().getFromValue( 0, 'Width of Loop Thread (pixels):', self, 10, 2 )
		self.widthOfPerimeterInsideThread = settings.IntSpinUpdate().getFromValue( 0, 'Width of Perimeter Inside Thread (pixels):', self, 10, 8 )
		self.widthOfPerimeterOutsideThread = settings.IntSpinUpdate().getFromValue( 0, 'Width of Perimeter Outside Thread (pixels):', self, 10, 8 )
		self.widthOfRaftThread = settings.IntSpinUpdate().getFromValue( 0, 'Width of Raft Thread (pixels):', self, 10, 1 )
		self.widthOfSelectionThread = settings.IntSpinUpdate().getFromValue( 0, 'Width of Selection Thread (pixels):', self, 10, 6 )
		self.widthOfTravelThread = settings.IntSpinUpdate().getFromValue( 0, 'Width of Travel Thread (pixels):', self, 10, 0 )
		self.executeTitle = 'Behold'
Example #43
0
 def __init__(self):
     "Set the default settings, execute title & settings fileName."
     settings.addListsToRepository("skeinforge_application.skeinforge_plugins.craft_plugins.home.html", None, self)
     self.fileNameInput = settings.FileNameInput().getFromFileName(
         fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), "Open File for Home", self, ""
     )
     self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute(
         "http://www.bitsfrombytes.com/wiki/index.php?title=Skeinforge_home"
     )
     self.activateHome = settings.BooleanSetting().getFromValue("Activate Home", self, True)
     self.nameOfHomingFile = settings.StringSetting().getFromValue("Name of Homing File:", self, "homing.gcode")
     self.executeTitle = "Home"
Example #44
0
 def __init__(self):
     "Set the default settings, execute title & settings fileName."
     settings.addListsToRepository(
         'skeinforge_application.skeinforge_plugins.analyze_plugins.comment.html',
         None, self)
     self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute(
         'http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Comment')
     self.activateComment = settings.BooleanSetting().getFromValue(
         'Activate Comment', self, False)
     self.fileNameInput = settings.FileNameInput().getFromFileName(
         [('Gcode text files', '*.gcode')],
         'Open File to Write Comments for', self, '')
     self.executeTitle = 'Write Comments'
Example #45
0
 def __init__(self):
     "Set the default settings, execute title & settings fileName."
     settings.addListsToRepository(
         'skeinforge_plugins.analyze_plugins.comment.html', '', self)
     self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute(
         'http://www.bitsfrombytes.com/wiki/index.php?title=Skeinforge_Comment'
     )
     self.activateComment = settings.BooleanSetting().getFromValue(
         'Activate Comment', self, False)
     self.fileNameInput = settings.FileNameInput().getFromFileName(
         [('Gcode text files', '*.gcode')],
         'Open File to Write Comments for', self, '')
     #Create the archive, title of the execute button, title of the dialog & settings fileName.
     self.executeTitle = 'Write Comments'
Example #46
0
	def __init__( self ):
		"Set the default settings, execute title & settings fileName."
		settings.addListsToRepository( 'skeinforge.html', '', self )
		self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Skeinforge', self, '' )
		versionText = gcodec.getFileText( gcodec.getVersionFileName() )
		self.profileType = settings.MenuButtonDisplay().getFromName( 'Profile Type: ', self )
		self.profileSelection = settings.MenuButtonDisplay().getFromName( 'Profile Selection: ', self )
		addToProfileMenu( self.profileSelection, self.profileType, self )
		settings.LabelDisplay().getFromName( 'Web Help:', self )
		reprapSearch = settings.HelpPage().getFromNameAfterHTTP( 'www.bitsfrombytes.com/wiki/index.php?title=Skeinforge', 'Bfb Wiki', self )
		settings.LabelDisplay().getFromName( '', self )
		importantFileNames = [ 'craft', 'profile' ]
		getRadioPluginsAddPluginGroupFrame( getPluginsDirectoryPath(), importantFileNames, getPluginFileNames(), self )
		self.executeTitle = 'Skeinforge'
Example #47
0
	def __init__(self):
		"Set the default settings, execute title & settings fileName."
		#Set the default settings.
		settings.addListsToRepository('skeinforge_application.skeinforge_plugins.craft_plugins.export_plugins.binary_16_byte.html', None, self )
		self.fileNameInput = settings.FileNameInput().getFromFileName( [ ('Gcode text files', '*.gcode') ], 'Open File to be Converted to Binary 16 Byte', self, '')
		self.feedRateStepLength = settings.FloatSpin().getFromValue( 0.0, 'Feed Rate Step Length (millimeters/second)', self, 1.0, 0.1 )
		self.fileExtension = settings.StringSetting().getFromValue('File Extension:', self, 'bin')
		settings.LabelDisplay().getFromName('Offset:', self )
		self.xOffset = settings.FloatSpin().getFromValue( - 100.0, 'X Offset (millimeters)', self, 100.0, 0.0 )
		self.yOffset = settings.FloatSpin().getFromValue( -100.0, 'Y Offset (millimeters)', self, 100.0, 0.0 )
		self.zOffset = settings.FloatSpin().getFromValue( - 10.0, 'Z Offset (millimeters)', self, 10.0, 0.0 )
		settings.LabelDisplay().getFromName('Step Length:', self )
		self.xStepLength = settings.FloatSpin().getFromValue( 0.0, 'X Step Length (millimeters)', self, 1.0, 0.1 )
		self.yStepLength = settings.FloatSpin().getFromValue( 0.0, 'Y Step Length (millimeters)', self, 1.0, 0.1 )
		self.zStepLength = settings.FloatSpin().getFromValue( 0.0, 'Z Step Length (millimeters)', self, 0.2, 0.01 )
		self.executeTitle = 'Convert to Binary 16 Byte'
Example #48
0
	def __init__(self):
		"Set the default settings, execute title & settings fileName."
		settings.addListsToRepository('skeinforge_application.skeinforge_plugins.analyze_plugins.statistic.html', None, self )
		self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute('http://www.bitsfrombytes.com/wiki/index.php?title=Skeinforge_Statistic')
		self.activateStatistic = settings.BooleanSetting().getFromValue('Activate Statistic', self, True )
		settings.LabelSeparator().getFromRepository(self)
		settings.LabelDisplay().getFromName('- Cost -', self )
		self.machineTime = settings.FloatSpin().getFromValue( 0.0, 'Machine Time ($/hour):', self, 2.0, 1.0 )
		self.material = settings.FloatSpin().getFromValue( 0.0, 'Material ($/kg):', self, 20.0, 10.0 )
		settings.LabelSeparator().getFromRepository(self)
		self.density = settings.FloatSpin().getFromValue( 500.0, 'Density (kg/m3):', self, 2000.0, 930.0 )
		self.extrusionDiameterOverThickness = settings.FloatSpin().getFromValue( 1.0, 'Extrusion Diameter over Thickness (ratio):', self, 1.5, 1.25 )
		self.fileNameInput = settings.FileNameInput().getFromFileName( [ ('Gcode text files', '*.gcode') ], 'Open File to Generate Statistics for', self, '')
		self.printStatistics = settings.BooleanSetting().getFromValue('Print Statistics', self, True )
		self.saveStatistics = settings.BooleanSetting().getFromValue('Save Statistics', self, False )
		self.executeTitle = 'Generate Statistics'
Example #49
0
	def __init__(self):
		"Set the default settings, execute title & settings fileName."
		settings.addListsToRepository('skeinforge_application.skeinforge.html', None, self )
		self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Skeinforge', self, '')
		self.profileType = settings.MenuButtonDisplay().getFromName('Profile Type: ', self )
		self.profileSelection = settings.MenuButtonDisplay().getFromName('Profile Selection: ', self )
		addToProfileMenu( self.profileSelection, self.profileType, self )
		settings.LabelDisplay().getFromName('Search:', self )
		reprapSearch = settings.HelpPage().getFromNameAfterHTTP('members.axion.net/~enrique/search_reprap.html', 'Reprap', self )
		skeinforgeSearch = settings.HelpPage().getFromNameAfterHTTP('members.axion.net/~enrique/search_skeinforge.html', 'Skeinforge', self )
		skeinforgeSearch.column += 2
		webSearch = settings.HelpPage().getFromNameAfterHTTP('members.axion.net/~enrique/search_web.html', 'Web', self )
		webSearch.column += 4
		versionText = archive.getFileText( archive.getVersionFileName() )
		self.version = settings.LabelDisplay().getFromName('Version: ' + versionText, self )
		settings.LabelDisplay().getFromName('', self )
		importantFileNames = ['craft', 'profile']
		getRadioPluginsAddPluginGroupFrame( getPluginsDirectoryPath(), importantFileNames, getPluginFileNames(), self )
		self.executeTitle = 'Skeinforge'
Example #50
0
	def __init__(self):
		"Set the default settings, execute title & settings fileName."
		#Set the default settings.
		settings.addListsToRepository('skeinforge_application.skeinforge_plugins.craft_plugins.export_plugins.gcode_step.html', None, self )
		self.addFeedRateEvenWhenUnchanging = settings.BooleanSetting().getFromValue('Add Feed Rate Even When Unchanging', self, True )
		self.addSpaceBetweenWords = settings.BooleanSetting().getFromValue('Add Space Between Words', self, True )
		self.addZEvenWhenUnchanging = settings.BooleanSetting().getFromValue('Add Z Even When Unchanging', self, True )
		self.fileNameInput = settings.FileNameInput().getFromFileName( [ ('Gcode text files', '*.gcode') ], 'Open File to be Converted to Gcode Step', self, '')
		self.feedRateStepLength = settings.FloatSpin().getFromValue( 0.0, 'Feed Rate Step Length (millimeters/second)', self, 1.0, 0.1 )
		settings.LabelDisplay().getFromName('Offset:', self )
		self.xOffset = settings.FloatSpin().getFromValue( - 100.0, 'X Offset (millimeters)', self, 100.0, 0.0 )
		self.yOffset = settings.FloatSpin().getFromValue( -100.0, 'Y Offset (millimeters)', self, 100.0, 0.0 )
		self.zOffset = settings.FloatSpin().getFromValue( - 10.0, 'Z Offset (millimeters)', self, 10.0, 0.0 )
		self.radiusStepLength = settings.FloatSpin().getFromValue( 0.0, 'Radius Step Length (millimeters)', self, 1.0, 0.1 )
		settings.LabelDisplay().getFromName('Step Length:', self )
		self.xStepLength = settings.FloatSpin().getFromValue( 0.0, 'X Step Length (millimeters)', self, 1.0, 0.1 )
		self.yStepLength = settings.FloatSpin().getFromValue( 0.0, 'Y Step Length (millimeters)', self, 1.0, 0.1 )
		self.zStepLength = settings.FloatSpin().getFromValue( 0.0, 'Z Step Length (millimeters)', self, 0.2, 0.01 )
		self.executeTitle = 'Convert to Gcode Step'
	def __init__(self):
		"Set the default settings, execute title & settings fileName."
		settings.addListsToRepository('skeinforge_application.skeinforge_plugins.craft_plugins.export_plugins.gcode_time.html', None, self )
		self.addSpaceBetweenWords = settings.BooleanSetting().getFromValue('Add Space Between Words', self, True )
		self.fileNameInput = settings.FileNameInput().getFromFileName( [ ('Gcode text files', '*.gcode') ], 'Open File to be Converted to Gcode Time', self, '')
		self.initialTime = settings.FloatSpin().getFromValue(0.0, 'Initial Time (s)', self, 20.0, 10.0)
		settings.LabelSeparator().getFromRepository(self)
		settings.LabelDisplay().getFromName('- Offset -', self )
		self.xOffset = settings.FloatSpin().getFromValue( - 100.0, 'X Offset (mm)', self, 100.0, 0.0 )
		self.yOffset = settings.FloatSpin().getFromValue( -100.0, 'Y Offset (mm)', self, 100.0, 0.0 )
		self.zOffset = settings.FloatSpin().getFromValue( - 10.0, 'Z Offset (mm)', self, 10.0, 0.0 )
		settings.LabelSeparator().getFromRepository(self)
		settings.LabelDisplay().getFromName('- Step -', self )
		self.extrusionStep = settings.FloatSpin().getFromValue(0.0, 'Extrusion Step (mm)', self, 0.2, 0.01)
		self.timeStep = settings.FloatSpin().getFromValue(0.0, 'Time Step (mcs)', self, 2000.0, 1000.0)
		self.xStep = settings.FloatSpin().getFromValue(0.0, 'X Step (mm)', self, 1.0, 0.1)
		self.yStep = settings.FloatSpin().getFromValue(0.0, 'Y Step (mm)', self, 1.0, 0.1)
		self.zStep = settings.FloatSpin().getFromValue(0.0, 'Z Step (mm)', self, 0.2, 0.01)
		settings.LabelSeparator().getFromRepository(self)
		self.executeTitle = 'Convert to Gcode Time'
Example #52
0
 def __init__(self):
     "Set the default settings, execute title & settings fileName."
     settings.addListsToRepository("skeinforge_plugins.analyze_plugins.statistic.html", "", self)
     self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute(
         "http://www.bitsfrombytes.com/wiki/index.php?title=Skeinforge_Statistic"
     )
     self.activateStatistic = settings.BooleanSetting().getFromValue("Activate Statistic", self, True)
     settings.LabelSeparator().getFromRepository(self)
     settings.LabelDisplay().getFromName("- Cost -", self)
     self.machineTime = settings.FloatSpin().getFromValue(0.0, "Machine Time ($/hour):", self, 2.0, 1.0)
     self.material = settings.FloatSpin().getFromValue(0.0, "Material ($/kg):", self, 20.0, 10.0)
     settings.LabelSeparator().getFromRepository(self)
     self.density = settings.FloatSpin().getFromValue(500.0, "Density (kg/m3):", self, 2000.0, 930.0)
     self.extrusionDiameterOverThickness = settings.FloatSpin().getFromValue(
         1.0, "Extrusion Diameter over Thickness (ratio):", self, 1.5, 1.25
     )
     self.fileNameInput = settings.FileNameInput().getFromFileName(
         [("Gcode text files", "*.gcode")], "Open File to Generate Statistics for", self, ""
     )
     self.printStatistics = settings.BooleanSetting().getFromValue("Print Statistics", self, True)
     self.saveStatistics = settings.BooleanSetting().getFromValue("Save Statistics", self, False)
     self.executeTitle = "Generate Statistics"
Example #53
0
 def __init__(self):
     "Set the default settings, execute title & settings fileName."
     settings.addListsToRepository('skeinforge.html', '', self)
     self.fileNameInput = settings.FileNameInput().getFromFileName(
         fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(),
         'Open File for Skeinforge', self, '')
     versionText = gcodec.getFileText(gcodec.getVersionFileName())
     self.profileType = settings.MenuButtonDisplay().getFromName(
         'Profile Type: ', self)
     self.profileSelection = settings.MenuButtonDisplay().getFromName(
         'Profile Selection: ', self)
     addToProfileMenu(self.profileSelection, self.profileType, self)
     settings.LabelDisplay().getFromName('Web Help:', self)
     reprapSearch = settings.HelpPage().getFromNameAfterHTTP(
         'www.bitsfrombytes.com/wiki/index.php?title=Skeinforge',
         'Bfb Wiki', self)
     settings.LabelDisplay().getFromName('', self)
     importantFileNames = ['craft', 'profile']
     getRadioPluginsAddPluginGroupFrame(getPluginsDirectoryPath(),
                                        importantFileNames,
                                        getPluginFileNames(), self)
     self.executeTitle = 'Skeinforge'
Example #54
0
 def __init__(self):
     "Set the default settings, execute title & settings fileName."
     # Set the default settings.
     settings.addListsToRepository(
         "skeinforge.skeinforge_tools.craft_plugins.export_plugins.binary_16_byte.html", "", self
     )
     self.fileNameInput = settings.FileNameInput().getFromFileName(
         [("Gcode text files", "*.gcode")], "Open File to be Converted to Binary 16 Byte", self, ""
     )
     self.feedRateStepLength = settings.FloatSpin().getFromValue(
         0.0, "Feed Rate Step Length (millimeters/second)", self, 1.0, 0.1
     )
     self.fileExtension = settings.StringSetting().getFromValue("File Extension:", self, "bin")
     settings.LabelDisplay().getFromName("Offset:", self)
     self.xOffset = settings.FloatSpin().getFromValue(-100.0, "X Offset (millimeters)", self, 100.0, 0.0)
     self.yOffset = settings.FloatSpin().getFromValue(-100.0, "Y Offset (millimeters)", self, 100.0, 0.0)
     self.zOffset = settings.FloatSpin().getFromValue(-10.0, "Z Offset (millimeters)", self, 10.0, 0.0)
     settings.LabelDisplay().getFromName("Step Length:", self)
     self.xStepLength = settings.FloatSpin().getFromValue(0.0, "X Step Length (millimeters)", self, 1.0, 0.1)
     self.yStepLength = settings.FloatSpin().getFromValue(0.0, "Y Step Length (millimeters)", self, 1.0, 0.1)
     self.zStepLength = settings.FloatSpin().getFromValue(0.0, "Z Step Length (millimeters)", self, 0.2, 0.01)
     # Create the archive, title of the execute button, title of the dialog & settings fileName.
     self.executeTitle = "Convert to Binary 16 Byte"
 def __init__(self):
     "Set the default settings, execute title & settings fileName."
     settings.addListsToRepository(
         'skeinforge_application.skeinforge_utilities.skeinforge_help.html',
         '', self)
     settings.LabelDisplay().getFromName('- Announcements -', self)
     settings.LabelDisplay().getFromName(
         'Fabmetheus Blog, Announcements & Questions:', self)
     settings.HelpPage().getFromNameAfterHTTP('fabmetheus.blogspot.com/',
                                              'Fabmetheus Blog', self)
     settings.LabelSeparator().getFromRepository(self)
     settings.LabelDisplay().getFromName('- Documentation -', self)
     settings.LabelDisplay().getFromName('Index of Local Documentation: ',
                                         self)
     settings.HelpPage().getFromNameSubName('Index', self)
     settings.LabelDisplay().getFromName(
         'Wiki Manual with Pictures & Charts: ', self)
     settings.HelpPage().getFromNameAfterWWW(
         'bitsfrombytes.com/wiki/index.php?title=Skeinforge', 'Wiki Manual',
         self)
     settings.LabelDisplay().getFromName('Skeinforge Overview: ', self)
     settings.HelpPage().getFromNameSubName(
         'Skeinforge Overview', self,
         'skeinforge_application.skeinforge.html')
     settings.LabelSeparator().getFromRepository(self)
     settings.LabelDisplay().getFromName('- Forums -', self)
     settings.LabelDisplay().getFromName('Bits from Bytes Software Board:',
                                         self)
     settings.HelpPage().getFromNameAfterWWW(
         'bitsfrombytes.com/fora/user/index.php?board=4.0',
         'Bits from Bytes Software Board', self)
     settings.LabelDisplay().getFromName('Makerbot Operators:', self)
     settings.HelpPage().getFromNameAfterHTTP(
         'groups.google.com/group/makerbot', 'Makerbot Operators', self)
     settings.LabelDisplay().getFromName('Skeinforge Contributions Thread:',
                                         self)
     settings.HelpPage().getFromNameAfterHTTP(
         'dev.forums.reprap.org/read.php?12,27562',
         'Skeinforge Contributions Thread', self)
     settings.LabelDisplay().getFromName('Skeinforge Settings Thread:',
                                         self)
     settings.HelpPage().getFromNameAfterHTTP(
         'dev.forums.reprap.org/read.php?12,27434',
         'Skeinforge Settings Thread', self)
     settings.LabelDisplay().getFromName(
         'Skeinforge Troubleshooting Thread:', self)
     settings.HelpPage().getFromNameAfterHTTP(
         'forums.reprap.org/list.php?154',
         'Skeinforge Troubleshooting Thread', self)
     settings.LabelSeparator().getFromRepository(self)
     settings.LabelDisplay().getFromName('- Search -', self)
     settings.LabelDisplay().getFromName('Reprap Search:', self)
     settings.HelpPage().getFromNameAfterHTTP(
         'members.axion.net/~enrique/search_reprap.html', 'Reprap Search',
         self)
     settings.LabelDisplay().getFromName('Skeinforge Search:', self)
     settings.HelpPage().getFromNameAfterHTTP(
         'members.axion.net/~enrique/search_skeinforge.html',
         'Skeinforge Search', self)
     settings.LabelDisplay().getFromName('Web Search:', self)
     settings.HelpPage().getFromNameAfterHTTP(
         'members.axion.net/~enrique/search_web.html', 'Web Search', self)
     settings.LabelSeparator().getFromRepository(self)
     self.wikiManualPrimary = settings.BooleanSetting().getFromValue(
         'Wiki Manual Primary', self, True)
     self.wikiManualPrimary.setUpdateFunction(self.save)
Example #56
0
	def __init__( self ):
		"Set the default settings, execute title & settings fileName."
		settings.addListsToRepository( 'skeinforge_plugins.meta_plugins.description.html', '', self )
		description = 'Write your description of the profile here.\n\nSuggested format is a description, followed by a link to the profile post or web page.'
		self.descriptionText = settings.TextSetting().getFromValue( 'Description Text:', self, description )