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, {})
def __init__(self): "Set the default settings, execute title & settings fileName." skeinforge_profile.addListsToCraftTypeRepository('skeinforge_application.skeinforge_plugins.craft_plugins.export.html', self ) self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Export', self, '') self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute('http://www.bitsfrombytes.com/wiki/index.php?title=Skeinforge_Export') self.activateExport = settings.BooleanSetting().getFromValue('Activate Export', self, True ) self.alsoSendOutputTo = settings.StringSetting().getFromValue('Also Send Output To:', self, '') self.deleteComments = settings.BooleanSetting().getFromValue('Delete Comments', self, True ) exportPluginsFolderPath = archive.getAbsoluteFrozenFolderPath( __file__, 'export_plugins') exportStaticDirectoryPath = os.path.join( exportPluginsFolderPath, 'static_plugins') exportPluginFileNames = archive.getPluginFileNamesFromDirectoryPath( exportPluginsFolderPath ) exportStaticPluginFileNames = archive.getPluginFileNamesFromDirectoryPath( exportStaticDirectoryPath ) self.exportLabel = settings.LabelDisplay().getFromName('Export Operations: ', self ) self.exportPlugins = [] exportLatentStringVar = settings.LatentStringVar() self.doNotChangeOutput = settings.RadioCapitalized().getFromRadio( exportLatentStringVar, 'Do Not Change Output', self, True ) self.doNotChangeOutput.directoryPath = None allExportPluginFileNames = exportPluginFileNames + exportStaticPluginFileNames for exportPluginFileName in allExportPluginFileNames: exportPlugin = None if exportPluginFileName in exportPluginFileNames: path = os.path.join( exportPluginsFolderPath, exportPluginFileName ) exportPlugin = settings.RadioCapitalizedButton().getFromPath( exportLatentStringVar, exportPluginFileName, path, self, False ) exportPlugin.directoryPath = exportPluginsFolderPath else: exportPlugin = settings.RadioCapitalized().getFromRadio( exportLatentStringVar, exportPluginFileName, self, False ) exportPlugin.directoryPath = exportStaticDirectoryPath self.exportPlugins.append( exportPlugin ) self.fileExtension = settings.StringSetting().getFromValue('File Extension:', self, 'gcode') self.savePenultimateGcode = settings.BooleanSetting().getFromValue('Save Penultimate Gcode', self, False ) self.executeTitle = 'Export'
def __init__(self): "Set the default settings, execute title & settings fileName." skeinforge_profile.addListsToCraftTypeRepository( 'skeinforge_application.skeinforge_plugins.craft_plugins.preface.html', self) self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Preface', self, '') self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute( 'http://www.bitsfrombytes.com/wiki/index.php?title=Skeinforge_Preface' ) self.meta = settings.StringSetting().getFromValue('Meta:', self, '') settings.LabelSeparator().getFromRepository(self) settings.LabelDisplay().getFromName('- Name of Alteration Files -', self) self.nameOfEndFile = settings.StringSetting().getFromValue( 'Name of End File:', self, 'end.gcode') self.nameOfStartFile = settings.StringSetting().getFromValue( 'Name of Start File:', self, 'start.gcode') settings.LabelSeparator().getFromRepository(self) self.setPositioningToAbsolute = settings.BooleanSetting().getFromValue( 'Set Positioning to Absolute', self, True) self.setUnitsToMillimeters = settings.BooleanSetting().getFromValue( 'Set Units to Millimeters', self, True) self.startAtHome = settings.BooleanSetting().getFromValue( 'Start at Home', self, False) settings.LabelSeparator().getFromRepository(self) settings.LabelDisplay().getFromName('- Turn Extruder Off -', self) self.turnExtruderOffAtShutDown = settings.BooleanSetting( ).getFromValue('Turn Extruder Off at Shut Down', self, True) self.turnExtruderOffAtStartUp = settings.BooleanSetting().getFromValue( 'Turn Extruder Off at Start Up', self, True) self.executeTitle = 'Preface'
def __init__(self): 'Set the default settings, execute title & settings fileName.' skeinforge_profile.addListsToCraftTypeRepository('skeinforge_application.skeinforge_plugins.craft_plugins.cool.html', self ) self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Cool', self, '') self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute( 'http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Cool') self.activateCool = settings.BooleanSetting().getFromValue('Activate Cool.. but use with a fan!', self, False) settings.LabelDisplay().getFromName('- When To use Cool?-', self ) self.minimumLayerTime = settings.FloatSpin().getFromValue(0.0, 'Use Cool if layer takes shorter than(seconds):', self, 120.0, 10.0) self.minimumLayerFeedrate = settings.FloatSpin().getFromValue(5.0, 'Do not go slower than (mm/s):', self, 50.0, 15.0) settings.LabelSeparator().getFromRepository(self) settings.LabelDisplay().getFromName('- What to do if Cool is necessary? -', self ) self.turnFanOnAtBeginning = settings.BooleanSetting().getFromValue('Turn Fan On at Beginning', self, True) self.turnFanOffAtEnding = settings.BooleanSetting().getFromValue('Turn Fan Off at Ending', self, True) settings.LabelSeparator().getFromRepository(self) settings.LabelDisplay().getFromName('- Name of Macro (gmc) Files to execute -', self ) self.nameOfCoolEndFile = settings.StringSetting().getFromValue('Execute when Cool ends:', self, 'cool_end.gmc') self.nameOfCoolStartFile = settings.StringSetting().getFromValue('Execute when Cool starts:', self, 'cool_start.gmc') settings.LabelSeparator().getFromRepository(self) settings.LabelDisplay().getFromName('- How to Cool? -', self ) self.coolType = settings.MenuButtonDisplay().getFromName('Cool by:', self) self.orbit = settings.MenuRadio().getFromMenuButtonDisplay(self.coolType, 'Orbiting around Object', self, False) self.slowDown = settings.MenuRadio().getFromMenuButtonDisplay(self.coolType, 'Slow Down during print', self, True) settings.LabelSeparator().getFromRepository(self) self.maximumCool = settings.FloatSpin().getFromValue(0.0, 'Maximum Cool (Celcius):', self, 10.0, 2.0) self.bridgeCool = settings.FloatSpin().getFromValue(0.0, 'Bridge Cool (Celcius):', self, 10.0, 1.0) self.minimumOrbitalRadius = settings.FloatSpin().getFromValue( 0.0, 'Minimum Orbital Radius (millimeters):', self, 20.0, 10.0) settings.LabelSeparator().getFromRepository(self) self.orbitalOutset = settings.FloatSpin().getFromValue(1.0, 'Orbital Outset (millimeters):', self, 5.0, 2.0) self.executeTitle = 'Cool'
def __init__(self): 'Set the default settings, execute title & settings fileName.' skeinforge_profile.addListsToCraftTypeRepository('skeinforge_application.skeinforge_plugins.craft_plugins.cool.html', self ) self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Cool', self, '') self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute( 'http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Cool') self.activateCool = settings.BooleanSetting().getFromValue('Activate Cool', self, True) self.bridgeCool = settings.FloatSpin().getFromValue(0.0, 'Bridge Cool (Celcius):', self, 10.0, 1.0) self.coolType = settings.MenuButtonDisplay().getFromName('Cool Type:', self) self.orbit = settings.MenuRadio().getFromMenuButtonDisplay(self.coolType, 'Orbit', self, False) self.slowDown = settings.MenuRadio().getFromMenuButtonDisplay(self.coolType, 'Slow Down', self, True) self.maximumCool = settings.FloatSpin().getFromValue(0.0, 'Maximum Cool (Celcius):', self, 10.0, 2.0) self.minimumLayerTime = settings.FloatSpin().getFromValue(0.0, 'Minimum Layer Time (seconds):', self, 120.0, 60.0) self.minimumOrbitalRadius = settings.FloatSpin().getFromValue( 0.0, 'Minimum Orbital Radius (millimeters):', self, 20.0, 10.0) settings.LabelSeparator().getFromRepository(self) settings.LabelDisplay().getFromName('- Name of Alteration Files -', self ) self.nameOfCoolEndFile = settings.StringSetting().getFromValue('Name of Cool End File:', self, 'cool_end.gcode') self.nameOfCoolStartFile = settings.StringSetting().getFromValue('Name of Cool Start File:', self, 'cool_start.gcode') settings.LabelSeparator().getFromRepository(self) self.orbitalOutset = settings.FloatSpin().getFromValue(1.0, 'Orbital Outset (millimeters):', self, 5.0, 2.0) self.turnFanOnAtBeginning = settings.BooleanSetting().getFromValue('Turn Fan On at Beginning', self, True) self.turnFanOffAtEnding = settings.BooleanSetting().getFromValue('Turn Fan Off at Ending', self, True) self.executeTitle = 'Cool'
def __init__(self): "Set the default settings, execute title & settings fileName." skeinforge_profile.addListsToCraftTypeRepository( 'skeinforge_application.skeinforge_plugins.craft_plugins.carve.html', self) self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getTranslatorFileTypeTuples(), 'Open File for Carve', self, '') self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute( 'http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Carve') self.addLayerTemplateToSVG = settings.BooleanSetting().getFromValue( 'Add Layer Template to SVG', self, True) self.edgeWidth = settings.FloatSpin().getFromValue( 0.1, 'Edge Width (mm):', self, 2.2, 0.4) self.extraDecimalPlaces = settings.FloatSpin().getFromValue( 0.0, 'Extra Decimal Places (float):', self, 3.0, 2.0) self.importCoarseness = settings.FloatSpin().getFromValue( 0.5, 'Import Coarseness (ratio):', self, 2.0, 1.0) self.layerHeight = settings.FloatSpin().getFromValue( 0.1, 'Layer Height (mm):', self, 1.0, 0.2) settings.LabelSeparator().getFromRepository(self) settings.LabelDisplay().getFromName('- Layers -', self) self.layersFrom = settings.IntSpin().getFromValue( 0, 'Layers From (index):', self, 20, 0) self.layersTo = settings.IntSpin().getSingleIncrementFromValue( 0, 'Layers To (index):', self, 912345678, 912345678) settings.LabelSeparator().getFromRepository(self) self.meshTypeLabel = settings.LabelDisplay().getFromName( 'Mesh Type: ', self) importLatentStringVar = settings.LatentStringVar() self.correctMesh = settings.Radio().getFromRadio( importLatentStringVar, 'Correct Mesh', self, True) self.unprovenMesh = settings.Radio().getFromRadio( importLatentStringVar, 'Unproven Mesh', self, False) self.svgViewer = settings.StringSetting().getFromValue( 'SVG Viewer:', self, 'webbrowser') settings.LabelSeparator().getFromRepository(self) self.executeTitle = 'Carve' self.flipX = settings.BooleanSetting().getFromValue( 'FlipX', self, False) self.flipY = settings.BooleanSetting().getFromValue( 'FlipY', self, False) self.flipZ = settings.BooleanSetting().getFromValue( 'FlipZ', self, False) self.swapXZ = settings.BooleanSetting().getFromValue( 'SwapXZ', self, False) self.swapYZ = settings.BooleanSetting().getFromValue( 'SwapYZ', self, False) self.centerX = settings.FloatSpin().getFromValue( 0.0, 'CenterX', self, 1000.0, 0.0) self.centerY = settings.FloatSpin().getFromValue( 0.0, 'CenterY', self, 1000.0, 0.0) self.scale = settings.FloatSpin().getFromValue(0.1, 'Scale', self, 10.0, 1.0) self.rotate = settings.FloatSpin().getFromValue( -180.0, 'Rotate', self, 180.0, 0.0) self.alternativeCenter = settings.StringSetting().getFromValue( 'AlternativeCenterFile', self, '')
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')
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')
def __init__(self): "Set the default settings, execute title & settings fileName." skeinforge_profile.addListsToCraftTypeRepository( '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')
def __init__(self): "Set the default settings, execute title & settings fileName." skeinforge_profile.addListsToCraftTypeRepository('skeinforge_application.skeinforge_plugins.craft_plugins.alteration.html', self ) self.baseNameSynonym = 'bookend.csv' self.fileNameInput = settings.FileNameInput().getFromFileName(fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Alteration', self, '') self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute('http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Alteration') self.activateAlteration = settings.BooleanSetting().getFromValue('Activate Alteration', self, True) self.nameOfEndFile = settings.StringSetting().getFromValue('Name of End File:', self, 'end.gcode') self.nameOfStartFile = settings.StringSetting().getFromValue('Name of Start File:', self, 'start.gcode') self.removeRedundantMcode = settings.BooleanSetting().getFromValue('Remove Redundant Mcode', self, True) self.replaceVariableWithSetting = settings.BooleanSetting().getFromValue('Replace Variable with Setting', self, True) self.executeTitle = 'Alteration'
def __init__(self): "Set the default settings, execute title & settings fileName." skeinforge_profile.addListsToCraftTypeRepository('skeinforge_application.skeinforge_plugins.craft_plugins.carve.html', self ) self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getTranslatorFileTypeTuples(), 'Open File for Carve', self, '') self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute('http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Carve') settings.LabelDisplay().getFromName('- MAIN SETTINGS for Extrusion -', self ) settings.LabelSeparator().getFromRepository(self) self.layerThickness = settings.FloatSpin().getFromValue( 0.1, 'Layer Height = Extrusion Thickness (mm):', self, 1.0, 0.4 ) self.perimeterWidthOverThickness = settings.FloatSpin().getFromValue( 0.2, 'Extrusion Width (mm):', self, 1.0, 0.6 ) settings.LabelSeparator().getFromRepository(self) settings.LabelDisplay().getFromName('- Layers to print -', self ) self.layersFrom = settings.IntSpin().getFromValue( 0, 'Print from Layer No::', self, 3333, 0 ) self.layersTo = settings.IntSpin().getSingleIncrementFromValue( 0, 'Print up to Layer No:', self, 912345678, 912345678 ) settings.LabelSeparator().getFromRepository(self) settings.LabelDisplay().getFromName('- Do not touch those below -', self ) settings.LabelSeparator().getFromRepository(self) self.meshTypeLabel = settings.LabelDisplay().getFromName('Mesh Type: ', self ) importLatentStringVar = settings.LatentStringVar() self.correctMesh = settings.Radio().getFromRadio( importLatentStringVar, 'Correct Mesh', self, True ) self.unprovenMesh = settings.Radio().getFromRadio( importLatentStringVar, 'Unproven Mesh', self, False ) self.svgViewer = settings.StringSetting().getFromValue('SVG Viewer:', self, 'webbrowser') self.addLayerTemplateToSVG = settings.BooleanSetting().getFromValue('Add Layer Template to SVG', self, True) self.extraDecimalPlaces = settings.FloatSpin().getFromValue(1.0, 'Extra Decimal Places (float):', self, 4.0, 3.0) self.importCoarseness = settings.FloatSpin().getFromValue( 0.5, 'Import Coarseness (ratio):', self, 2.0, 1.0 ) settings.LabelSeparator().getFromRepository(self) self.executeTitle = 'Carve'
def __init__(self): "Set the default settings, execute title & settings fileName." #Set the default settings. skeinforge_profile.addListsToCraftTypeRepository( 'skeinforge_application.skeinforge_plugins.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) self.executeTitle = 'Convert to Binary 16 Byte'
def __init__( self ): "Set the default settings, execute title & settings fileName." skeinforge_profile.addListsToCraftTypeRepository( 'skeinforge_tools.craft_plugins.oozestep.html', self ) self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for oozestep', self, '' ) self.activateoozestep = settings.BooleanSetting().getFromValue( 'Activate oozestep', self, False ) settings.LabelSeparator().getFromRepository(self) settings.LabelDisplay().getFromName('- Feedrates -', self ) #zFeed self.zFeed = settings.FloatSpin().getFromValue( 4.0, 'Z feed (mm/s):', self, 34.0, 8.3 ) #first layer feed self.firstLayerFeed = settings.FloatSpin().getFromValue( 4.0, 'First layer feed (mm/s):', self, 34.0, 25 ) #join paths - NOT USED #self.joinPaths = settings.FloatSpin().getFromValue( 4.0, 'Join paths (mm):', self, 34.0, 2.0 ) #output G1 self.g_one = settings.BooleanSetting().getFromValue( 'Output G1 for linear feed moves', self, False ) settings.LabelSeparator().getFromRepository(self) settings.LabelDisplay().getFromName('- Extruder control -', self ) #first path press dist self.firstPathPressDist = settings.FloatSpin().getFromValue( 4.0, 'First path press dist (mm):', self, 34.0, 30.0 ) #first path press feed self.firstPathPressFeed = settings.FloatSpin().getFromValue( 4.0, 'First path press feed (mm/s):', self, 34.0, 30.0 ) #first path each layer press dist self.firstLayerPathPressDist = settings.FloatSpin().getFromValue( 4.0, 'First layer path press dist (mm):', self, 34.0, 30.0 ) #next path press xy self.nextPathPressXY = settings.FloatSpin().getFromValue( 4.0, 'Next path press XY (mm):', self, 34.0, 0.4 ) #extruder early stop xy self.extruderEarlyStopXY = settings.FloatSpin().getFromValue( 4.0, 'Extruder early stop XY (mm):', self, 34.0, 0.4 ) #extruder oozestep feed #set in Dimension plugin #extrusion multiplier - NOT USED #self.extrusionMultiplier = settings.FloatSpin().getFromValue( 0, 'Extrusion multiplier:', self, 255, 1.0 ) self.tempAtLayer = settings.StringSetting().getFromValue('Bed T at layer, (Layer,Temp;Layer,Temp;...):', self, '4,120;7,110;10,100' ) #Create the archive, title of the execute button, title of the dialog & settings fileName. self.executeTitle = 'oozestep'
def __init__(self): 'Set the default settings, execute title & settings fileName.' skeinforge_profile.addListsToCraftTypeRepository( 'skeinforge_application.skeinforge_plugins.analyze_plugins.vectorwrite.html', self) self.activateVectorwrite = settings.BooleanSetting().getFromValue( 'Activate Vectorwrite', self, False) self.fileNameInput = settings.FileNameInput().getFromFileName( [('Gcode text files', '*.gcode')], 'Open File to Write Vector Graphics for', self, '') self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute( 'http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Vectorwrite' ) self.addLayerTemplateToSVG = settings.BooleanSetting().getFromValue( 'Add Layer Template to SVG', self, True) self.addLoops = settings.BooleanSetting().getFromValue( 'Add Loops', self, True) self.addPaths = settings.BooleanSetting().getFromValue( 'Add Paths', self, True) self.addPerimeters = settings.BooleanSetting().getFromValue( 'Add Perimeters', self, True) settings.LabelSeparator().getFromRepository(self) settings.LabelDisplay().getFromName('- Layers -', self) self.layersFrom = settings.IntSpin().getFromValue( 0, 'Layers From (index):', self, 20, 0) self.layersTo = settings.IntSpin().getSingleIncrementFromValue( 0, 'Layers To (index):', self, 912345678, 912345678) settings.LabelSeparator().getFromRepository(self) self.svgViewer = settings.StringSetting().getFromValue( 'SVG Viewer:', self, 'webbrowser') settings.LabelSeparator().getFromRepository(self) self.executeTitle = 'Vectorwrite'
def __init__(self): "Set the default settings, execute title & settings fileName." skeinforge_profile.addListsToCraftTypeRepository( 'skeinforge_application.skeinforge_plugins.craft_plugins.cleave.html', self) self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getTranslatorFileTypeTuples(), 'Open File to be Cleaved', self, '') self.addLayerTemplateToSVG = settings.BooleanSetting().getFromValue( 'Add Layer Template to SVG', self, True) self.edgeWidth = settings.FloatSpin().getFromValue( 0.4, 'Edge Width (mm):', self, 4.0, 2.0) self.extraDecimalPlaces = settings.FloatSpin().getFromValue( 0.0, 'Extra Decimal Places (float):', self, 3.0, 2.0) self.importCoarseness = settings.FloatSpin().getFromValue( 0.5, 'Import Coarseness (ratio):', self, 2.0, 1.0) self.layerHeight = settings.FloatSpin().getFromValue( 0.1, 'Layer Height (mm):', self, 1.0, 0.4) self.layersFrom = settings.IntSpin().getFromValue( 0, 'Layers From (index):', self, 20, 0) self.layersTo = settings.IntSpin().getSingleIncrementFromValue( 0, 'Layers To (index):', self, 912345678, 912345678) self.meshTypeLabel = settings.LabelDisplay().getFromName( 'Mesh Type: ', self, ) importLatentStringVar = settings.LatentStringVar() self.correctMesh = settings.Radio().getFromRadio( importLatentStringVar, 'Correct Mesh', self, True) self.unprovenMesh = settings.Radio().getFromRadio( importLatentStringVar, 'Unproven Mesh', self, False) self.svgViewer = settings.StringSetting().getFromValue( 'SVG Viewer:', self, 'webbrowser') settings.LabelSeparator().getFromRepository(self) self.executeTitle = 'Cleave'
def __init__(self): 'Set the default settings, execute title & settings fileName.' skeinforge_profile.addListsToCraftTypeRepository('skeinforge_application.skeinforge_plugins.craft_plugins.export.html', self) self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Export', self, '') self.openWikiManualHelpPage = settings.HelpPage().getOpenFromDocumentationSubName('skeinforge_application.skeinforge_plugins.craft_plugins.export.html') self.activateExport = settings.BooleanSetting().getFromValue('Activate Export', self, True) self.addDescriptiveExtension = settings.BooleanSetting().getFromValue('Add Descriptive Extension', self, False) self.addExportSuffix = settings.BooleanSetting().getFromValue('Add Export Suffix', self, True) self.addProfileExtension = settings.BooleanSetting().getFromValue('Add Profile Extension', self, False) self.addTimestampExtension = settings.BooleanSetting().getFromValue('Add Timestamp Extension', self, False) self.alsoSendOutputTo = settings.StringSetting().getFromValue('Also Send Output To:', self, '') self.analyzeGcode = settings.BooleanSetting().getFromValue('Analyze Gcode', self, True) self.commentLabel = settings.LabelDisplay().getFromName('Comment Deletion Choices:', self) self.deleteKeepComments = settings.BooleanSetting().getFromValue('Delete <keep> Comments', self, False) self.deleteTraceComments = settings.BooleanSetting().getFromValue('Delete Trace Comments', self, False) self.deleteLayerComments = settings.BooleanSetting().getFromValue('Delete <layer> Comments', self, False) self.deleteSettingsComments = settings.BooleanSetting().getFromValue('Delete Settings Comments', self, False) self.deleteInitialisationComments = settings.BooleanSetting().getFromValue('Delete Other Initialisation Comments', self, False) self.deletePrefaceComments = settings.BooleanSetting().getFromValue('Delete Other Preface Comments', self, False) self.deleteCraftingComments = settings.BooleanSetting().getFromValue('Delete Other Crafting Comments', self, False) self.deleteTaggedComments = settings.BooleanSetting().getFromValue('Delete Other Tagged Comments', self, False) self.deleteStarredComments = settings.BooleanSetting().getFromValue('Delete Other Starred Comments', self, False) self.deleteOtherComments = settings.BooleanSetting().getFromValue('Delete All Other Comments', self, False) exportPluginsFolderPath = archive.getAbsoluteFrozenFolderPath(archive.getCraftPluginsDirectoryPath('export.py'), 'export_plugins') exportStaticDirectoryPath = os.path.join(exportPluginsFolderPath, 'static_plugins') exportPluginFileNames = archive.getPluginFileNamesFromDirectoryPath(exportPluginsFolderPath) exportStaticPluginFileNames = archive.getPluginFileNamesFromDirectoryPath(exportStaticDirectoryPath) self.exportLabel = settings.LabelDisplay().getFromName('Export Operations: ', self) self.exportPlugins = [] exportLatentStringVar = settings.LatentStringVar() self.doNotChangeOutput = settings.RadioCapitalized().getFromRadio(exportLatentStringVar, 'Do Not Change Output', self, True) self.doNotChangeOutput.directoryPath = None allExportPluginFileNames = exportPluginFileNames + exportStaticPluginFileNames for exportPluginFileName in allExportPluginFileNames: exportPlugin = None if exportPluginFileName in exportPluginFileNames: path = os.path.join(exportPluginsFolderPath, exportPluginFileName) exportPlugin = settings.RadioCapitalizedButton().getFromPath(exportLatentStringVar, exportPluginFileName, path, self, False) exportPlugin.directoryPath = exportPluginsFolderPath else: exportPlugin = settings.RadioCapitalized().getFromRadio(exportLatentStringVar, exportPluginFileName, self, False) exportPlugin.directoryPath = exportStaticDirectoryPath self.exportPlugins.append(exportPlugin) self.fileExtension = settings.StringSetting().getFromValue('File Extension:', self, 'gcode') self.nameOfReplaceFile = settings.StringSetting().getFromValue('Name of Replace File:', self, 'replace.csv') self.savePenultimateGcode = settings.BooleanSetting().getFromValue('Save Penultimate Gcode', self, False) self.executeTitle = 'Export'
def __init__(self): "Set the default settings, execute title & settings fileName." skeinforge_profile.addListsToCraftTypeRepository('skeinforge_application.skeinforge_plugins.craft_plugins.bottom.html', self ) self.fileNameInput = settings.FileNameInput().getFromFileName(fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Bottom', self, '') self.activateBottom = settings.BooleanSetting().getFromValue('Activate Bottom:', self, True ) self.altitude = settings.FloatSpin().getFromValue(-1.0, 'Altitude (mm):', self, 1.0, 0.0) self.svgViewer = settings.StringSetting().getFromValue('SVG Viewer:', self, 'webbrowser') self.executeTitle = 'Bottom'
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'
def __init__(self): "Set the default settings, execute title & settings fileName." skeinforge_profile.addListsToCraftTypeRepository('skeinforge_application.skeinforge_plugins.craft_plugins.home.html', self) self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Home', self, '') self.openWikiManualHelpPage = settings.HelpPage().getOpenFromDocumentationSubName('skeinforge_application.skeinforge_plugins.craft_plugins.home.html') self.activateHome = settings.BooleanSetting().getFromValue('Activate Home', self, True ) self.nameOfHomeFile = settings.StringSetting().getFromValue('Name of Home File:', self, 'home.gcode') self.executeTitle = 'Home'
def __init__(self): "Set the default settings, execute title & settings fileName." skeinforge_profile.addListsToCraftTypeRepository( 'skeinforge_application.skeinforge_plugins.craft_plugins.bookend.html', self) self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Bookend', self, '') self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute( 'http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Bookend') self.activateBookend = settings.BooleanSetting().getFromValue( 'Activate Bookend', self, True) self.nameOfEndFile = settings.StringSetting().getFromValue( 'Name of End File:', self, 'end.gcode') self.nameOfStartFile = settings.StringSetting().getFromValue( 'Name of Start File:', self, 'start.gcode') self.executeTitle = 'Bookend'
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." skeinforge_profile.addListsToCraftTypeRepository('skeinforge_application.skeinforge_plugins.analyze_plugins.interpret.html', self) self.fileNameInput = settings.FileNameInput().getFromFileName( getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Interpret', self, '') self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute('http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Interpret') 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'
def __init__(self): 'Set the default settings, execute title & settings fileName.' skeinforge_profile.addListsToCraftTypeRepository('skeinforge_application.skeinforge_plugins.analyze_plugins.clairvoyance.html', self) self.openWikiManualHelpPage = settings.HelpPage().getOpenFromDocumentationSubName('skeinforge_application.skeinforge_plugins.analyze_plugins.clairvoyance.html') self.activateClairvoyance = settings.BooleanSetting().getFromValue('Activate Clairvoyance', self, False) settings.LabelSeparator().getFromRepository(self) self.fileNameInput = settings.FileNameInput().getFromFileName([('Gcode text files', '*.gcode')], 'Open File to Generate Clairvoyances for', self, '') self.gcodeProgram = settings.StringSetting().getFromValue('Gcode Program:', self, 'webbrowser') self.executeTitle = 'Clairvoyance'
def __init__(self): "Set the default settings, execute title & settings fileName." skeinforge_profile.addListsToCraftTypeRepository('skeinforge_application.skeinforge_plugins.craft_plugins.scale.html', self ) self.fileNameInput = settings.FileNameInput().getFromFileName(fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Scale', self, '') self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute('http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Scale') self.activateScale = settings.BooleanSetting().getFromValue('Activate Scale', self, False) self.xyPlaneScale = settings.FloatSpin().getFromValue(0.99, 'XY Plane Scale (ratio):', self, 1.03, 1.01) self.zAxisScale = settings.FloatSpin().getFromValue(0.99, 'Z Axis Scale (ratio):', self, 1.02, 1.0) self.svgViewer = settings.StringSetting().getFromValue('SVG Viewer:', self, 'webbrowser') self.executeTitle = 'Scale'
def __init__(self): "Set the default settings, execute title & settings fileName." skeinforge_profile.addListsToCraftTypeRepository( 'skeinforge_application.skeinforge_plugins.craft_plugins.bottom.html', self) self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Bottom', self, '') self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute('http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Bottom') self.activateBottom = settings.BooleanSetting().getFromValue('Activate Bottom', self, True) self.additionalHeightOverLayerThickness = settings.FloatSpin().getFromValue( 0.0, 'Additional Height over Layer Thickness (ratio):', self, 1.0, 0.5) self.altitude = settings.FloatSpin().getFromValue(-1.0, 'Altitude (mm):', self, 1.0, 0.0) self.svgViewer = settings.StringSetting().getFromValue('SVG Viewer:', self, 'webbrowser') self.executeTitle = 'Bottom'
def __init__(self): "Set the default settings, execute title & settings fileName." skeinforge_profile.addListsToCraftTypeRepository( 'skeinforge_application.skeinforge_plugins.craft_plugins.scale.html', self) self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Scale', self, '') self.activateScale = settings.BooleanSetting().getFromValue( 'Activate Scale to finetune print size (try to find the fault somewhere else..):', self, False) self.xyPlaneScale = settings.FloatSpin().getFromValue( 0.90, 'XY Plane Scale (ratio):', self, 1.10, 1.00) self.zAxisScale = settings.FloatSpin().getFromValue( 0.90, 'Z Axis Scale (ratio):', self, 1.10, 1.0) self.svgViewer = settings.StringSetting().getFromValue( 'SVG Viewer:', self, 'webbrowser') self.executeTitle = 'Scale'
def __init__(self): "Set the default settings, execute title & settings fileName." skeinforge_profile.addListsToCraftTypeRepository( 'skeinforge_application.skeinforge_plugins.craft_plugins.carve.html', self) self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getTranslatorFileTypeTuples(), 'Open File for Carve', self, '') self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute( 'http://www.bitsfrombytes.com/wiki/index.php?title=Skeinforge_Carve' ) self.addLayerTemplateToSVG = settings.BooleanSetting().getFromValue( 'Add Layer Template to SVG', self, True) self.bridgeThicknessMultiplier = settings.FloatSpin().getFromValue( 0.8, 'Bridge Thickness Multiplier (ratio):', self, 1.2, 1.0) self.extraDecimalPlaces = settings.FloatSpin().getFromValue( 0.0, 'Extra Decimal Places (float):', self, 2.0, 1.0) self.importCoarseness = settings.FloatSpin().getFromValue( 0.5, 'Import Coarseness (ratio):', self, 2.0, 1.0) self.infillDirectionBridge = settings.BooleanSetting().getFromValue( 'Infill in Direction of Bridges', self, True) self.layerThickness = settings.FloatSpin().getFromValue( 0.1, 'Layer Thickness (mm):', self, 1.0, 0.4) settings.LabelSeparator().getFromRepository(self) settings.LabelDisplay().getFromName('- Layers -', self) self.layersFrom = settings.IntSpin().getFromValue( 0, 'Layers From (index):', self, 20, 0) self.layersTo = settings.IntSpin().getSingleIncrementFromValue( 0, 'Layers To (index):', self, 912345678, 912345678) settings.LabelSeparator().getFromRepository(self) self.meshTypeLabel = settings.LabelDisplay().getFromName( 'Mesh Type: ', self) importLatentStringVar = settings.LatentStringVar() self.correctMesh = settings.Radio().getFromRadio( importLatentStringVar, 'Correct Mesh', self, True) self.unprovenMesh = settings.Radio().getFromRadio( importLatentStringVar, 'Unproven Mesh', self, False) self.perimeterWidthOverThickness = settings.FloatSpin().getFromValue( 1.4, 'Perimeter Width over Thickness (ratio):', self, 2.2, 1.8) settings.LabelSeparator().getFromRepository(self) self.svgViewer = settings.StringSetting().getFromValue( 'SVG Viewer:', self, 'webbrowser') settings.LabelSeparator().getFromRepository(self) self.executeTitle = 'Carve'
def __init__(self): 'Set the default settings, execute title & settings fileName.' skeinforge_profile.addListsToCraftTypeRepository( 'skeinforge_application.skeinforge_plugins.craft_plugins.export.html', self) self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Export', self, '') self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute( 'http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Export') self.activateExport = settings.BooleanSetting().getFromValue( 'Activate Export', self, True) self.addExportSuffix = settings.BooleanSetting().getFromValue( 'Add _export to filename (filename_export)', self, True) self.alsoSendOutputTo = settings.StringSetting().getFromValue( 'Also Send Output To:', self, '') self.analyzeGcode = settings.BooleanSetting().getFromValue( 'Analyze Gcode', self, True) self.commentChoice = settings.MenuButtonDisplay().getFromName( 'Handling of Comments in G-Code:', self) self.doNotDeleteComments = settings.MenuRadio( ).getFromMenuButtonDisplay(self.commentChoice, 'Do Not Delete Comments', self, False) self.deleteCraftingComments = settings.MenuRadio( ).getFromMenuButtonDisplay(self.commentChoice, 'Delete Crafting Comments', self, False) self.deleteAllComments = settings.MenuRadio().getFromMenuButtonDisplay( self.commentChoice, 'Delete All Comments', self, True) exportPluginsFolderPath = archive.getAbsoluteFrozenFolderPath( archive.getCraftPluginsDirectoryPath('export.py'), 'export_plugins') exportStaticDirectoryPath = os.path.join(exportPluginsFolderPath, 'static_plugins') exportPluginFileNames = archive.getPluginFileNamesFromDirectoryPath( exportPluginsFolderPath) exportStaticPluginFileNames = archive.getPluginFileNamesFromDirectoryPath( exportStaticDirectoryPath) settings.LabelDisplay().getFromName(' ', self) self.exportLabel = settings.LabelDisplay().getFromName( '--Export Operations-- ', self) self.exportPlugins = [] exportLatentStringVar = settings.LatentStringVar() self.doNotChangeOutput = settings.RadioCapitalized().getFromRadio( exportLatentStringVar, 'Do Not Change Output', self, True) self.doNotChangeOutput.directoryPath = None allExportPluginFileNames = exportPluginFileNames + exportStaticPluginFileNames for exportPluginFileName in allExportPluginFileNames: exportPlugin = None if exportPluginFileName in exportPluginFileNames: path = os.path.join(exportPluginsFolderPath, exportPluginFileName) exportPlugin = settings.RadioCapitalizedButton().getFromPath( exportLatentStringVar, exportPluginFileName, path, self, False) exportPlugin.directoryPath = exportPluginsFolderPath else: exportPlugin = settings.RadioCapitalized().getFromRadio( exportLatentStringVar, exportPluginFileName, self, False) exportPlugin.directoryPath = exportStaticDirectoryPath self.exportPlugins.append(exportPlugin) self.fileExtension = settings.StringSetting().getFromValue( 'File Extension (gcode):', self, 'gcode') self.nameOfReplaceFile = settings.StringSetting().getFromValue( 'Name of Replace File:', self, 'replace.csv') self.savePenultimateGcode = settings.BooleanSetting().getFromValue( 'Save Penultimate Gcode', self, True) settings.LabelDisplay().getFromName(' ', self) settings.LabelDisplay().getFromName('--File Name Alterations--', self) settings.LabelDisplay().getFromName( '"WARNING" IF ANY OF BELOW CHECKBOXES ARE CHECKED', self) settings.LabelDisplay().getFromName( 'SFACT WILL NOT WORK FROM WITHIN PRONTERFACE!!', self) self.addProfileExtension = settings.BooleanSetting().getFromValue( 'Add Profile Extension', self, False) self.addDescriptiveExtension = settings.BooleanSetting().getFromValue( 'Add Descriptive Extension', self, False) self.addTimestampExtension = settings.BooleanSetting().getFromValue( 'Add Timestamp Extension', self, False) self.executeTitle = 'Export'
def __init__(self): 'Set the default settings, execute title & settings fileName.' skeinforge_profile.addListsToCraftTypeRepository( 'skeinforge_application.skeinforge_plugins.craft_plugins.export.html', self) self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Export', self, '') self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute( 'http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Export') self.activateExport = settings.BooleanSetting().getFromValue( 'Activate Export', self, True) self.addExportSuffix = settings.BooleanSetting().getFromValue( 'Add Export Suffix', self, True) self.alsoSendOutputTo = settings.StringSetting().getFromValue( 'Also Send Output To:', self, '') self.commentChoice = settings.MenuButtonDisplay().getFromName( 'Comment Choice:', self) self.doNotDeleteComments = settings.MenuRadio( ).getFromMenuButtonDisplay(self.commentChoice, 'Do Not Delete Comments', self, False) self.deleteCraftingComments = settings.MenuRadio( ).getFromMenuButtonDisplay(self.commentChoice, 'Delete Crafting Comments', self, False) self.deleteAllComments = settings.MenuRadio().getFromMenuButtonDisplay( self.commentChoice, 'Delete All Comments', self, True) exportPluginsFolderPath = archive.getAbsoluteFrozenFolderPath( __file__, 'export_plugins') exportStaticDirectoryPath = os.path.join(exportPluginsFolderPath, 'static_plugins') exportPluginFileNames = archive.getPluginFileNamesFromDirectoryPath( exportPluginsFolderPath) exportStaticPluginFileNames = archive.getPluginFileNamesFromDirectoryPath( exportStaticDirectoryPath) self.exportLabel = settings.LabelDisplay().getFromName( 'Export Operations: ', self) self.exportPlugins = [] exportLatentStringVar = settings.LatentStringVar() self.doNotChangeOutput = settings.RadioCapitalized().getFromRadio( exportLatentStringVar, 'Do Not Change Output', self, True) self.doNotChangeOutput.directoryPath = None allExportPluginFileNames = exportPluginFileNames + exportStaticPluginFileNames for exportPluginFileName in allExportPluginFileNames: exportPlugin = None if exportPluginFileName in exportPluginFileNames: path = os.path.join(exportPluginsFolderPath, exportPluginFileName) exportPlugin = settings.RadioCapitalizedButton().getFromPath( exportLatentStringVar, exportPluginFileName, path, self, False) exportPlugin.directoryPath = exportPluginsFolderPath else: exportPlugin = settings.RadioCapitalized().getFromRadio( exportLatentStringVar, exportPluginFileName, self, False) exportPlugin.directoryPath = exportStaticDirectoryPath self.exportPlugins.append(exportPlugin) self.fileExtension = settings.StringSetting().getFromValue( 'File Extension:', self, 'gcode') self.profileFileExtension = settings.BooleanSetting().getFromValue( 'Add Profile To File Extension', self, False) self.archiveProfile = settings.BooleanSetting().getFromValue( 'Archive Used Profile As Zip', self, False) self.exportProfileAsCsv = settings.BooleanSetting().getFromValue( 'Export Profile Values As CSV File', self, False) self.descriptiveExtension = settings.BooleanSetting().getFromValue( 'Add Descriptive Extension', self, False) self.timestampExtension = settings.BooleanSetting().getFromValue( 'Add Timestamp Extension', self, False) self.nameOfReplaceFile = settings.StringSetting().getFromValue( 'Name of Replace File:', self, 'replace.csv') self.savePenultimateGcode = settings.BooleanSetting().getFromValue( 'Save Penultimate Gcode', self, False) self.executeTitle = 'Export'