本文整理汇总了Python中skeinforge_application.skeinforge_utilities.skeinforge_profile.addListsToCraftTypeRepository函数的典型用法代码示例。如果您正苦于以下问题:Python addListsToCraftTypeRepository函数的具体用法?Python addListsToCraftTypeRepository怎么用?Python addListsToCraftTypeRepository使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了addListsToCraftTypeRepository函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Python代码示例。
示例1: __init__
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'
开发者ID:RussellSnow,项目名称:Software,代码行数:34,代码来源:oozestep.py
示例2: __init__
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, 10.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'
self.minimumFeedRate = settings.FloatSpin().getFromValue(0.0, 'Minimum feed rate (mm/s):', self, 10.0, 5.0)
self.fanTurnOnLayerNr = settings.IntSpin().getFromValue(0, 'Fan on at layer:', self, 100, 0)
self.fanSpeedMin = settings.IntSpin().getFromValue(0, 'Fan speed min (%):', self, 100, 100)
self.fanSpeedMax = settings.IntSpin().getFromValue(0, 'Fan speed max (%):', self, 100, 100)
开发者ID:Ademan,项目名称:Cura,代码行数:30,代码来源:cool.py
示例3: __init__
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'
开发者ID:AKAMEDIASYSTEM,项目名称:ReplicatorG,代码行数:31,代码来源:export.py
示例4: __init__
def __init__( self ):
"Set the default settings, execute title & settings fileName."
skeinforge_profile.addListsToCraftTypeRepository( 'skeinforge_plugins.craft_plugins.flow.html', self )
self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Flow', self, '' )
self.activateFlow = settings.BooleanSetting().getFromValue( 'Activate Flow:', self, True )
self.flowRate = settings.FloatSpin().getFromValue( 50.0, 'Flow Rate (arbitrary units):', self, 250.0, 210.0 )
self.executeTitle = 'Flow'
开发者ID:elmom,项目名称:Skeinforge-Mirror,代码行数:7,代码来源:flow.py
示例5: __init__
def __init__(self):
"Set the default settings, execute title & settings fileName."
skeinforge_profile.addListsToCraftTypeRepository('skeinforge_application.skeinforge_plugins.craft_plugins.coil.html', self )
self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Coil', self, '')
self.activateCoil = settings.BooleanSetting().getFromValue('Activate Coil', self, True )
self.minimumToolDistance = settings.FloatSpin().getFromValue( 10.0, 'Minimum Tool Distance (millimeters):', self, 50.0, 20.0 )
self.executeTitle = 'Coil'
开发者ID:Ademan,项目名称:Cura,代码行数:7,代码来源:coil.py
示例6: __init__
def __init__(self):
"Set the default settings, execute title & settings fileName."
skeinforge_profile.addListsToCraftTypeRepository('skeinforge_application.skeinforge_plugins.craft_plugins.whittle.html', self )
self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File to be Whittled', self, '')
self.activateWhittle = settings.BooleanSetting().getFromValue('Activate Whittle', self, False )
self.maximumVerticalStep = settings.FloatSpin().getFromValue( 0.02, 'Maximum Vertical Step (mm):', self, 0.42, 0.1 )
self.executeTitle = 'Whittle'
开发者ID:AKAMEDIASYSTEM,项目名称:ReplicatorG,代码行数:7,代码来源:whittle.py
示例7: __init__
def __init__(self):
"Set the default settings, execute title & settings fileName."
skeinforge_profile.addListsToCraftTypeRepository(
"skeinforge_application.skeinforge_plugins.craft_plugins.chop.html", self
)
self.fileNameInput = settings.FileNameInput().getFromFileName(
fabmetheus_interpret.getTranslatorFileTypeTuples(), "Open File to be Chopped", self, ""
)
self.addExtraTopLayerIfNecessary = settings.BooleanSetting().getFromValue(
"Add Extra Top Layer if Necessary", self, True
)
self.addLayerTemplateToSVG = settings.BooleanSetting().getFromValue("Add Layer Template to SVG", self, True)
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.layerThickness = settings.FloatSpin().getFromValue(0.1, "Layer Thickness (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.perimeterWidth = settings.FloatSpin().getFromValue(0.4, "Perimeter Width (mm):", self, 4.0, 2.0)
settings.LabelSeparator().getFromRepository(self)
self.svgViewer = settings.StringSetting().getFromValue("SVG Viewer:", self, "webbrowser")
settings.LabelSeparator().getFromRepository(self)
self.executeTitle = "Chop"
开发者ID:koenkooi,项目名称:ReplicatorG,代码行数:30,代码来源:chop.py
示例8: __init__
def __init__(self):
'Set the default settings, execute title & settings fileName.'
skeinforge_profile.addListsToCraftTypeRepository('skeinforge_application.skeinforge_plugins.craft_plugins.dimension.html', self )
self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Dimension', self, '')
self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute('http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Dimension')
self.activateDimension = settings.BooleanSetting().getFromValue('Activate Volumetric Extrusion (Stepper driven Extruders)', self, True )
extrusionDistanceFormatLatentStringVar = settings.LatentStringVar()
self.extrusionDistanceFormatChoiceLabel = settings.LabelDisplay().getFromName('Extrusion Distance Format Choice: ', self )
settings.Radio().getFromRadio( extrusionDistanceFormatLatentStringVar, 'Absolute Extrusion Distance', self, True )
self.relativeExtrusionDistance = settings.Radio().getFromRadio( extrusionDistanceFormatLatentStringVar, 'Relative Extrusion Distance', self, False )
self.extruderRetractionSpeed = settings.FloatSpin().getFromValue( 10, 'Extruder Retraction Speed (mm/s):', self, 50, 30 )
settings.LabelSeparator().getFromRepository(self)
settings.LabelDisplay().getFromName('- Filament -', self )
self.filamentDiameter = settings.FloatSpin().getFromValue(1.0, 'Filament Diameter (mm):', self, 6.0, 2.8)
# self.filamentPackingDensity = settings.FloatSpin().getFromValue(0.5, 'E-Steps corrector:', self, 1.5, 1.0)
self.filamentPackingDensityx = settings.FloatSpin().getFromValue(-0.25, 'Add/remove to actual extrusion width (mm):', self, 0.25, 0.0)
# self.activateCalibration = settings.BooleanSetting().getFromValue('Are You Calibrating?', self, False )
# self.MeasuredXSection = settings.FloatSpin().getFromValue(0.20, 'Measured Width of Extrusion:', self, 2.0, 0.5)
settings.LabelSeparator().getFromRepository(self)
settings.LabelDisplay().getFromName('- Filament Retraction Settings -', self )
self.maximumEValueBeforeReset = settings.FloatSpin().getFromValue(0.0, 'Maximum E Value before Reset (float):', self, 999999.9, 91234.0)
self.minimumTravelForRetraction = settings.FloatSpin().getFromValue(0.0, 'Minimum Travelmove after Retraction (millimeters):', self, 10.0, 4.0)
self.retractWithinIsland = settings.BooleanSetting().getFromValue('Retract Within Island', self, False)
self.retractionDistance = settings.FloatSpin().getFromValue( 0.0, 'Retraction Distance (millimeters):', self, 3.0, 1.0 )
self.restartExtraDistance = settings.FloatSpin().getFromValue( 0.0, 'Restart Extra Distance (millimeters):', self, 1.0, 0.1 )
self.executeTitle = 'Dimension'
开发者ID:3DNogi,项目名称:SFACT,代码行数:26,代码来源:dimension.py
示例9: __init__
def __init__(self):
"Set the default settings, execute title & settings fileName."
skeinforge_profile.addListsToCraftTypeRepository(
"skeinforge_application.skeinforge_plugins.craft_plugins.wipe.html", self
)
self.fileNameInput = settings.FileNameInput().getFromFileName(
fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), "Open File for Wipe", self, ""
)
self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute(
"http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Wipe"
)
self.activateWipe = settings.BooleanSetting().getFromValue("Activate Wipe", self, False)
settings.LabelSeparator().getFromRepository(self)
settings.LabelDisplay().getFromName("- Arrival Location -", self)
self.locationArrivalX = settings.FloatSpin().getFromValue(-100.0, "Arrival X (mm):", self, 100.0, -70.0)
self.locationArrivalY = settings.FloatSpin().getFromValue(-100.0, "Arrival Y (mm):", self, 100.0, -50.0)
self.locationArrivalZ = settings.FloatSpin().getFromValue(-100.0, "Arrival Z (mm):", self, 100.0, 50.0)
settings.LabelSeparator().getFromRepository(self)
settings.LabelDisplay().getFromName("- Departure Location -", self)
self.locationDepartureX = settings.FloatSpin().getFromValue(-100.0, "Departure X (mm):", self, 100.0, -70.0)
self.locationDepartureY = settings.FloatSpin().getFromValue(-100.0, "Departure Y (mm):", self, 100.0, -40.0)
self.locationDepartureZ = settings.FloatSpin().getFromValue(-100.0, "Departure Z (mm):", self, 100.0, 50.0)
settings.LabelSeparator().getFromRepository(self)
settings.LabelDisplay().getFromName("- Wipe Location -", self)
self.locationWipeX = settings.FloatSpin().getFromValue(-100.0, "Wipe X (mm):", self, 100.0, -70.0)
self.locationWipeY = settings.FloatSpin().getFromValue(-100.0, "Wipe Y (mm):", self, 100.0, -70.0)
self.locationWipeZ = settings.FloatSpin().getFromValue(-100.0, "Wipe Z (mm):", self, 100.0, 50.0)
settings.LabelSeparator().getFromRepository(self)
self.wipePeriod = settings.IntSpin().getFromValue(1, "Wipe Period (layers):", self, 5, 3)
self.executeTitle = "Wipe"
开发者ID:hy19910,项目名称:Cura,代码行数:30,代码来源:wipe.py
示例10: __init__
def __init__(self):
"Set the default settings, execute title & settings fileName."
skeinforge_profile.addListsToCraftTypeRepository(
"skeinforge_application.skeinforge_plugins.craft_plugins.multiply.html", self
)
self.fileNameInput = settings.FileNameInput().getFromFileName(
fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), "Open File for Multiply", self, ""
)
self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute(
"http://www.bitsfrombytes.com/wiki/index.php?title=Skeinforge_Multiply"
)
self.activateMultiply = settings.BooleanSetting().getFromValue("Activate Multiply:", self, False)
settings.LabelSeparator().getFromRepository(self)
settings.LabelDisplay().getFromName("- Center -", self)
self.centerX = settings.FloatSpin().getFromValue(-100.0, "Center X (mm):", self, 100.0, 0.0)
self.centerY = settings.FloatSpin().getFromValue(-100.0, "Center Y (mm):", self, 100.0, 0.0)
settings.LabelSeparator().getFromRepository(self)
settings.LabelDisplay().getFromName("- Number of Cells -", self)
self.numberOfColumns = settings.IntSpin().getFromValue(1, "Number of Columns (integer):", self, 10, 1)
self.numberOfRows = settings.IntSpin().getFromValue(1, "Number of Rows (integer):", self, 10, 1)
settings.LabelSeparator().getFromRepository(self)
self.separationOverPerimeterWidth = settings.FloatSpin().getFromValue(
5.0, "Separation over Perimeter Width (ratio):", self, 25.0, 15.0
)
self.executeTitle = "Multiply"
开发者ID:mezl,项目名称:ReplicatorG,代码行数:25,代码来源:multiply.py
示例11: __init__
def __init__(self):
"Set the default settings, execute title & settings fileName."
skeinforge_profile.addListsToCraftTypeRepository(
"skeinforge_application.skeinforge_plugins.craft_plugins.fillet.html", self
)
self.fileNameInput = settings.FileNameInput().getFromFileName(
fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), "Open File to be Filleted", self, ""
)
self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute(
"http://www.bitsfrombytes.com/wiki/index.php?title=Skeinforge_Fillet"
)
self.activateFillet = settings.BooleanSetting().getFromValue("Activate Fillet", self, False)
self.filletProcedureChoiceLabel = settings.LabelDisplay().getFromName("Fillet Procedure Choice: ", self)
filletLatentStringVar = settings.LatentStringVar()
self.arcPoint = settings.Radio().getFromRadio(filletLatentStringVar, "Arc Point", self, False)
self.arcRadius = settings.Radio().getFromRadio(filletLatentStringVar, "Arc Radius", self, False)
self.arcSegment = settings.Radio().getFromRadio(filletLatentStringVar, "Arc Segment", self, False)
self.bevel = settings.Radio().getFromRadio(filletLatentStringVar, "Bevel", self, True)
self.cornerFeedRateOverOperatingFeedRate = settings.FloatSpin().getFromValue(
0.8, "Corner Feed Rate over Operating Feed Rate (ratio):", self, 1.2, 1.0
)
self.filletRadiusOverPerimeterWidth = settings.FloatSpin().getFromValue(
0.25, "Fillet Radius over Perimeter Width (ratio):", self, 0.65, 0.35
)
self.reversalSlowdownDistanceOverPerimeterWidth = settings.FloatSpin().getFromValue(
0.3, "Reversal Slowdown Distance over Perimeter Width (ratio):", self, 0.7, 0.5
)
self.useIntermediateFeedRateInCorners = settings.BooleanSetting().getFromValue(
"Use Intermediate Feed Rate in Corners", self, True
)
self.executeTitle = "Fillet"
开发者ID:mezl,项目名称:ReplicatorG,代码行数:31,代码来源:fillet.py
示例12: __init__
def __init__(self):
'Set the default settings, execute title & settings fileName.'
skeinforge_profile.addListsToCraftTypeRepository('skeinforge_application.skeinforge_plugins.craft_plugins.dimension.html', self)
self.fileNameInput = settings.FileNameInput().getFromFileName(fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Dimension', self, '')
self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute('http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Dimension')
self.activateDimension = settings.BooleanSetting().getFromValue('Activate Dimension', self, False)
extrusionDistanceFormatLatentStringVar = settings.LatentStringVar()
self.extrusionDistanceFormatChoiceLabel = settings.LabelDisplay().getFromName('Extrusion Distance Format Choice: ', self)
settings.Radio().getFromRadio(extrusionDistanceFormatLatentStringVar, 'Absolute Extrusion Distance', self, True)
self.relativeExtrusionDistance = settings.Radio().getFromRadio(extrusionDistanceFormatLatentStringVar, 'Relative Extrusion Distance', self, False)
self.extruderRetractionSpeed = settings.FloatSpin().getFromValue(4.0, 'Extruder Retraction Speed (mm/s):', self, 34.0, 13.3)
settings.LabelSeparator().getFromRepository(self)
settings.LabelDisplay().getFromName('- Filament -', self)
self.filamentDiameter = settings.FloatSpin().getFromValue(1.0, 'Filament Diameter (mm):', self, 6.0, 2.8)
self.filamentPackingDensity = settings.FloatSpin().getFromValue(0.7, 'Filament Packing Density (ratio):', self, 1.0, 0.85)
settings.LabelSeparator().getFromRepository(self)
self.maximumEValueBeforeReset = settings.FloatSpin().getFromValue(0.0, 'Maximum E Value before Reset (float):', self, 999999.9, 91234.0)
self.minimumTravelForRetraction = settings.FloatSpin().getFromValue(0.0, 'Minimum Travel for Retraction (millimeters):', self, 2.0, 1.0)
self.retractWithinIsland = settings.BooleanSetting().getFromValue('Retract Within Island', self, False)
self.retractionDistance = settings.FloatSpin().getFromValue(0.0, 'Retraction Distance (millimeters):', self, 100.0, 0.0)
settings.LabelSeparator().getFromRepository(self)
settings.LabelDisplay().getFromName('- Restart -', self)
self.layerExtraDistance = settings.FloatSpin().getFromValue(-1.0, 'Layer Extra Distance (millimeters):', self, 3.0, 0.0)
self.restartExtraDistance = settings.FloatSpin().getFromValue(-1.0, 'Restart Extra Distance (millimeters):', self, 3.0, 0.0)
self.executeTitle = 'Dimension'
开发者ID:AlexeyKruglov,项目名称:Skeinforge-fabmetheus,代码行数:25,代码来源:dimension.py
示例13: __init__
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, '')
开发者ID:Ademan,项目名称:Cura,代码行数:33,代码来源:carve.py
示例14: __init__
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.IntSpin().getFromValue( 0, 'Extra Decimal Places (integer):', self, 2, 1 )
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'
开发者ID:D1plo1d,项目名称:ReplicatorG,代码行数:25,代码来源:carve.py
示例15: __init__
def __init__( self ):
"Set the default settings, execute title & settings fileName."
skeinforge_profile.addListsToCraftTypeRepository( 'skeinforge_tools.craft_plugins.outline.html', self )
self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Outline', self, '' )
self.activateOutline = settings.BooleanSetting().getFromValue( 'Activate Outline', self, False )
self.outlineMargin = settings.FloatSpin().getFromValue( 0.5, 'Outline Margin:', self, 20.0, 3.0 )
self.executeTitle = 'Outline'
开发者ID:folksjos,项目名称:RepG,代码行数:7,代码来源:outline.py
示例16: __init__
def __init__(self):
"Set the default settings, execute title & settings fileName."
skeinforge_profile.addListsToCraftTypeRepository('skeinforge_application.skeinforge_plugins.craft_plugins.widen.html', self )
self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Widen', self, '')
self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute('http://www.bitsfrombytes.com/wiki/index.php?title=Skeinforge_Widen')
self.activateWiden = settings.BooleanSetting().getFromValue('Activate Widen:', self, False )
self.executeTitle = 'Widen'
开发者ID:D1plo1d,项目名称:ReplicatorG,代码行数:7,代码来源:widen.py
示例17: __init__
def __init__(self):
"Set the default settings, execute title & settings fileName."
skeinforge_profile.addListsToCraftTypeRepository(
"skeinforge_application.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)
开发者ID:Ecifircas,项目名称:SFACT,代码行数:7,代码来源:description.py
示例18: __init__
def __init__(self):
"Set the default settings, execute title & settings fileName."
skeinforge_profile.addListsToCraftTypeRepository(
"skeinforge_application.skeinforge_plugins.craft_plugins.skin.html", self
)
self.fileNameInput = settings.FileNameInput().getFromFileName(
fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), "Open File for Skin", self, ""
)
self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute(
"http://fabmetheus.crsndoo.com/wiki/index.php/Skeinforge_Skin"
)
self.activateSkin = settings.BooleanSetting().getFromValue("Activate Skin", self, False)
settings.LabelSeparator().getFromRepository(self)
settings.LabelDisplay().getFromName("- Division -", self)
self.horizontalInfillDivisions = settings.IntSpin().getSingleIncrementFromValue(
1, "Horizontal Infill Divisions (integer):", self, 3, 2
)
self.horizontalPerimeterDivisions = settings.IntSpin().getSingleIncrementFromValue(
1, "Horizontal Perimeter Divisions (integer):", self, 3, 1
)
self.verticalDivisions = settings.IntSpin().getSingleIncrementFromValue(
1, "Vertical Divisions (integer):", self, 3, 2
)
settings.LabelSeparator().getFromRepository(self)
self.hopWhenExtrudingInfill = settings.BooleanSetting().getFromValue("Hop When Extruding Infill", self, False)
self.layersFrom = settings.IntSpin().getSingleIncrementFromValue(0, "Layers From (index):", self, 912345678, 1)
self.executeTitle = "Skin"
开发者ID:GottfriedSp,项目名称:ReplicatorG,代码行数:27,代码来源:skin.py
示例19: __init__
def __init__(self):
"Set the default settings, execute title & settings fileName."
skeinforge_profile.addListsToCraftTypeRepository('skeinforge_application.skeinforge_utilities.skeinforge_help.html', self)
settings.LabelDisplay().getFromName('- Announcements -', self )
settings.LabelDisplay().getFromName('Fabmetheus Blog, Skeinforge Announcements & Questions:', self )
settings.HelpPage().getFromNameAfterHTTP('fabmetheus.blogspot.com/', 'Fabmetheus Blog', self )
settings.LabelDisplay().getFromName('RepRap for Dummies website:', self )
settings.HelpPage().getFromNameAfterHTTP('www.reprapfordummies.net/', 'reprapfordummies.net', self )
settings.LabelSeparator().getFromRepository(self)
settings.LabelDisplay().getFromName('- Documentation -', self )
settings.LabelDisplay().getFromName('Local Documentation Table of Contents: ', self )
settings.HelpPage().getFromNameSubName('Contents', self, 'contents.html')
settings.LabelDisplay().getFromName('Wiki Manual with Pictures & Charts: ', self )
settings.HelpPage().getFromNameAfterHTTP('fabmetheus.crsndoo.com/wiki/index.php/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('Skeinforge/SFACT Forum:', self )
settings.HelpPage().getFromNameAfterWWW('forums.reprap.org/list.php?154', 'Skeinforge/SFACT', self )
settings.LabelDisplay().getFromName('Getting Started with the RepRap:', self )
settings.HelpPage().getFromNameAfterHTTP('oreilly.com/catalog/0636920021537', 'RepRap Book', self )
settings.LabelDisplay().getFromName('moving to Skeinforge 40 and later:', self )
settings.HelpPage().getFromNameAfterHTTP('forums.reprap.org/read.php?154,75635,77156#msg-77156', 'Skeinforge 40 and over', self )
settings.LabelDisplay().getFromName('Extruder Calibration:', self )
settings.HelpPage().getFromNameAfterHTTP('www.reprapfordummies.net/index.php/anything-that-can-not-be-downloaded-or-sent-by-email/34-introduction/54-volumetriccalibration', 'Extruder Calibration', 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)
self.wikiManualPrimary = settings.BooleanSetting().getFromValue('Wiki Manual Primary', self, True )
self.wikiManualPrimary.setUpdateFunction( self.save )
开发者ID:Spacexula,项目名称:SFACT,代码行数:35,代码来源:skeinforge_help.py
示例20: __init__
def __init__( self ):
"Set the default settings, execute title & settings fileName."
skeinforge_profile.addListsToCraftTypeRepository( 'skeinforge_tools.craft_plugins.altshell.html', self )
self.fileNameInput = settings.FileNameInput().getFromFileName( fabmetheus_interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Altshell', self, '' )
self.activateAltshell = settings.BooleanSetting().getFromValue( 'Activate Altshell', self, False)
self.useM320M321 = settings.BooleanSetting().getFromValue( 'Use M320/M321', self, False )
self.executeTitle = 'Altshell'
开发者ID:jedahan,项目名称:ReplicatorG,代码行数:7,代码来源:altshell.py
注:本文中的skeinforge_application.skeinforge_utilities.skeinforge_profile.addListsToCraftTypeRepository函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论