当前位置: 首页>>代码示例>>Python>>正文


Python interpret.getGNUTranslatorGcodeFileTypeTuples函数代码示例

本文整理汇总了Python中skeinforge_tools.skeinforge_utilities.interpret.getGNUTranslatorGcodeFileTypeTuples函数的典型用法代码示例。如果您正苦于以下问题:Python getGNUTranslatorGcodeFileTypeTuples函数的具体用法?Python getGNUTranslatorGcodeFileTypeTuples怎么用?Python getGNUTranslatorGcodeFileTypeTuples使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了getGNUTranslatorGcodeFileTypeTuples函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: __init__

	def __init__( self ):
		"Set the default preferences, execute title & preferences fileName."
		#Set the default preferences.
		self.archive = []
		self.activateFillet = preferences.BooleanPreference().getFromValue( 'Activate Fillet', True )
		self.archive.append( self.activateFillet )
		self.filletProcedureChoiceLabel = preferences.LabelDisplay().getFromName( 'Fillet Procedure Choice: ' )
		self.archive.append( self.filletProcedureChoiceLabel )
		filletRadio = []
		self.arcPoint = preferences.Radio().getFromRadio( 'Arc Point', filletRadio, False )
		self.archive.append( self.arcPoint )
		self.arcRadius = preferences.Radio().getFromRadio( 'Arc Radius', filletRadio, False )
		self.archive.append( self.arcRadius )
		self.arcSegment = preferences.Radio().getFromRadio( 'Arc Segment', filletRadio, False )
		self.archive.append( self.arcSegment )
		self.bevel = preferences.Radio().getFromRadio( 'Bevel', filletRadio, True )
		self.archive.append( self.bevel )
		self.cornerFeedrateOverOperatingFeedrate = preferences.FloatPreference().getFromValue( 'Corner Feedrate over Operating Feedrate (ratio):', 1.0 )
		self.archive.append( self.cornerFeedrateOverOperatingFeedrate )
		self.filletRadiusOverExtrusionWidth = preferences.FloatPreference().getFromValue( 'Fillet Radius over Extrusion Width (ratio):', 0.35 )
		self.archive.append( self.filletRadiusOverExtrusionWidth )
		self.fileNameInput = preferences.Filename().getFromFilename( interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File to be Filleted', '' )
		self.archive.append( self.fileNameInput )
		self.reversalSlowdownDistanceOverExtrusionWidth = preferences.FloatPreference().getFromValue( 'Reversal Slowdown Distance over Extrusion Width (ratio):', 0.5 )
		self.archive.append( self.reversalSlowdownDistanceOverExtrusionWidth )
		self.useIntermediateFeedrateInCorners = preferences.BooleanPreference().getFromValue( 'Use Intermediate Feedrate in Corners', True )
		self.archive.append( self.useIntermediateFeedrateInCorners )
		#Create the archive, title of the execute button, title of the dialog & preferences fileName.
		self.executeTitle = 'Fillet'
		self.saveTitle = 'Save Preferences'
		preferences.setHelpPreferencesFileNameTitleWindowPosition( self, 'skeinforge_tools.fillet.html' )
开发者ID:D1plo1d,项目名称:ReplicatorG,代码行数:31,代码来源:fillet.py

示例2: __init__

	def __init__( self ):
		"Set the default preferences, execute title & preferences fileName."
		#Set the default preferences.
		self.archive = []
		self.activateSpeed = preferences.BooleanPreference().getFromValue( 'Activate Speed:', True )
		self.archive.append( self.activateSpeed )
		self.addFlowRate = preferences.BooleanPreference().getFromValue( 'Add Flow Rate:', True )
		self.archive.append( self.addFlowRate )
		self.bridgeFeedRateMultiplier = preferences.FloatPreference().getFromValue( 'Bridge Feed Rate Multiplier (ratio):', 1.0 )
		self.archive.append( self.bridgeFeedRateMultiplier )
		self.bridgeFlowRateMultiplier = preferences.FloatPreference().getFromValue( 'Bridge Flow Rate Multiplier (ratio):', 1.0 )
		self.archive.append( self.bridgeFlowRateMultiplier )
		self.extrusionDiameterOverThickness = preferences.FloatPreference().getFromValue( 'Extrusion Diameter over Thickness (ratio):', 1.25 )
		self.archive.append( self.extrusionDiameterOverThickness )
		self.feedRatePerSecond = preferences.FloatPreference().getFromValue( 'Feed Rate (mm/s):', 16.0 )
		self.archive.append( self.feedRatePerSecond )
		self.fileNameInput = preferences.Filename().getFromFilename( interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Speed', '' )
		self.archive.append( self.fileNameInput )
		self.flowRateSetting = preferences.FloatPreference().getFromValue( 'Flow Rate Setting (float):', 210.0 )
		self.archive.append( self.flowRateSetting )
		self.maximumZFeedRatePerSecond = preferences.FloatPreference().getFromValue( 'Maximum Z Feed Rate (mm/s):', 8.0 )
		self.archive.append( self.maximumZFeedRatePerSecond )
		self.orbitalFeedRateOverOperatingFeedRate = preferences.FloatPreference().getFromValue( 'Orbital Feed Rate over Operating Feed Rate (ratio):', 0.5 )
		self.archive.append( self.orbitalFeedRateOverOperatingFeedRate )
		self.perimeterFeedRateOverOperatingFeedRate = preferences.FloatPreference().getFromValue( 'Perimeter Feed Rate over Operating Feed Rate (ratio):', 1.0 )
		self.archive.append( self.perimeterFeedRateOverOperatingFeedRate )
		self.perimeterFlowRateOverOperatingFlowRate = preferences.FloatPreference().getFromValue( 'Perimeter Flow Rate over Operating Flow Rate (ratio):', 1.0 )
		self.archive.append( self.perimeterFlowRateOverOperatingFlowRate )
		self.travelFeedRatePerSecond = preferences.FloatPreference().getFromValue( 'Travel Feed Rate (mm/s):', 16.0 )
		self.archive.append( self.travelFeedRatePerSecond )
		#Create the archive, title of the execute button, title of the dialog & preferences fileName.
		self.executeTitle = 'Speed'
		self.saveCloseTitle = 'Save and Close'
		preferences.setHelpPreferencesFileNameTitleWindowPosition( self, 'skeinforge_tools.craft_plugins.speed.html' )
开发者ID:TeamTeamUSA,项目名称:SkeinFox,代码行数:34,代码来源:speed.py

示例3: __init__

	def __init__( self ):
		"Set the default preferences, execute title & preferences fileName."
		#Set the default preferences.
		self.archive = []
		#Create the archive, title of the execute button, title of the dialog & preferences fileName.
		self.addCustomCodeForTemperatureReading = preferences.BooleanPreference().getFromValue( 'Add Custom Code for Temperature Reading', True )
		self.archive.append( self.addCustomCodeForTemperatureReading )
		self.extrusionWidthOverThickness = preferences.FloatPreference().getFromValue( 'Extrusion Width over Thickness (ratio):', 1.5 )
		self.archive.append( self.extrusionWidthOverThickness )
		self.fileNameInput = preferences.Filename().getFromFilename( interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File to be Insetted', '' )
		self.archive.append( self.fileNameInput )
		self.infillBridgeWidthOverExtrusionWidth = preferences.FloatPreference().getFromValue( 'Infill Bridge Width over Extrusion Width (ratio):', 1.0 )
		self.archive.append( self.infillBridgeWidthOverExtrusionWidth )
		self.infillPerimeterOverlap = preferences.FloatPreference().getFromValue( 'Infill Perimeter Overlap (ratio):', 0.15 )
		self.archive.append( self.infillPerimeterOverlap )
		self.infillPerimeterOverlapMethodOfCalculationLabel = preferences.LabelDisplay().getFromName( 'Infill Perimeter Overlap Method of Calculation: ' )
		self.archive.append( self.infillPerimeterOverlapMethodOfCalculationLabel )
		infillRadio = []
		self.perimeterInfillPreference = preferences.Radio().getFromRadio( 'Calculate Overlap from Perimeter and Infill', infillRadio, True )
		self.archive.append( self.perimeterInfillPreference )
		self.perimeterPreference = preferences.Radio().getFromRadio( 'Calculate Overlap from Perimeter Only', infillRadio, False )
		self.archive.append( self.perimeterPreference )
		self.removeExtrusionOverlap = preferences.BooleanPreference().getFromValue( 'Remove Extrusion Overlap', True )
		self.archive.append( self.removeExtrusionOverlap )
		self.turnExtruderHeaterOffAtShutDown = preferences.BooleanPreference().getFromValue( 'Turn Extruder Heater Off at Shut Down', True )
		self.archive.append( self.turnExtruderHeaterOffAtShutDown )
		#Create the archive, title of the execute button, title of the dialog & preferences fileName.
		self.executeTitle = 'Inset'
		self.saveCloseTitle = 'Save and Close'
		preferences.setHelpPreferencesFileNameTitleWindowPosition( self, 'skeinforge_tools.craft_plugins.inset.html' )
开发者ID:TeamTeamUSA,项目名称:SkeinFox,代码行数:30,代码来源:inset.py

示例4: __init__

	def __init__( self ):
		"Set the default preferences, execute title & preferences fileName."
		#Set the default preferences.
		preferences.addListsToRepository( self )
		self.fileNameInput = preferences.Filename().getFromFilename( interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File to be Exported', self, '' )
		self.activateExport = preferences.BooleanPreference().getFromValue( 'Activate Export', self, True )
		self.alsoSendOutputTo = preferences.StringPreference().getFromValue( 'Also Send Output To:', self, '' )
		self.deleteComments = preferences.BooleanPreference().getFromValue( 'Delete Comments', self, True )
		exportPluginsFolderPath = gcodec.getAbsoluteFolderPath( __file__, 'export_plugins' )
		exportStaticDirectoryPath = os.path.join( exportPluginsFolderPath, 'static_plugins' )
		exportPluginFilenames = gcodec.getPluginFilenamesFromDirectoryPath( exportPluginsFolderPath )
		exportStaticPluginFilenames = gcodec.getPluginFilenamesFromDirectoryPath( exportStaticDirectoryPath )
		self.exportLabel = preferences.LabelDisplay().getFromName( 'Export Operations: ', self )
		self.exportPlugins = []
		exportRadio = []
		self.doNotChangeOutput = preferences.RadioCapitalized().getFromRadio( 'Do Not Change Output', exportRadio, 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 = preferences.RadioCapitalizedButton().getFromPath( exportPluginFilename, path, exportRadio, self, False )
				exportPlugin.directoryPath = exportPluginsFolderPath
			else:
				exportPlugin = preferences.RadioCapitalized().getFromRadio( exportPluginFilename, exportRadio, self, False )
				exportPlugin.directoryPath = exportStaticDirectoryPath
			self.exportPlugins.append( exportPlugin )
		self.fileExtension = preferences.StringPreference().getFromValue( 'File Extension:', self, 'gcode' )
		#Create the archive, title of the execute button, title of the dialog & preferences fileName.
		self.executeTitle = 'Export'
		preferences.setHelpPreferencesFileNameTitleWindowPosition( self, 'skeinforge_tools.craft_plugins.export.html' )
开发者ID:TeamTeamUSA,项目名称:ReplicatorG,代码行数:32,代码来源:export.py

示例5: __init__

	def __init__( self ):
		"Set the default preferences, execute title & preferences fileName."
		#Set the default preferences.
		self.archive = []
		self.activateOozebane = preferences.BooleanPreference().getFromValue( 'Activate Oozebane', False )
		self.archive.append( self.activateOozebane )
		self.afterStartupDistance = preferences.FloatPreference().getFromValue( 'After Startup Distance (millimeters):', 1.2 )
		self.archive.append( self.afterStartupDistance )
		self.earlyShutdownDistance = preferences.FloatPreference().getFromValue( 'Early Shutdown Distance (millimeters):', 1.2 )
		self.archive.append( self.earlyShutdownDistance )
		self.earlyStartupDistanceConstant = preferences.FloatPreference().getFromValue( 'Early Startup Distance Constant (millimeters):', 20.0 )
		self.archive.append( self.earlyStartupDistanceConstant )
		self.earlyStartupMaximumDistance = preferences.FloatPreference().getFromValue( 'Early Startup Maximum Distance (millimeters):', 1.2 )
		self.archive.append( self.earlyStartupMaximumDistance )
		self.firstEarlyStartupDistance = preferences.FloatPreference().getFromValue( 'First Early Startup Distance (millimeters):', 25.0 )
		self.archive.append( self.firstEarlyStartupDistance )
		self.fileNameInput = preferences.Filename().getFromFilename( interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File to be Oozebaned', '' )
		self.archive.append( self.fileNameInput )
		self.minimumDistanceForEarlyStartup = preferences.FloatPreference().getFromValue( 'Minimum Distance for Early Startup (millimeters):', 0.0 )
		self.archive.append( self.minimumDistanceForEarlyStartup )
		self.minimumDistanceForEarlyShutdown = preferences.FloatPreference().getFromValue( 'Minimum Distance for Early Shutdown (millimeters):', 0.0 )
		self.archive.append( self.minimumDistanceForEarlyShutdown )
		self.slowdownStartupSteps = preferences.IntPreference().getFromValue( 'Slowdown Startup Steps (positive integer):', 3 )
		self.archive.append( self.slowdownStartupSteps )
		#Create the archive, title of the execute button, title of the dialog & preferences fileName.
		self.executeTitle = 'Oozebane'
		self.saveTitle = 'Save Preferences'
		preferences.setHelpPreferencesFileNameTitleWindowPosition( self, 'skeinforge_tools.oozebane.html' )
开发者ID:D1plo1d,项目名称:ReplicatorG,代码行数:28,代码来源:oozebane.py

示例6: __init__

	def __init__( self ):
		"Set the default settings, execute title & settings fileName."
		settings.addListsToRepository( 'skeinforge_tools.craft_plugins.export.html', '', self )
		self.fileNameInput = settings.FileNameInput().getFromFileName( 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 = gcodec.getAbsoluteFolderPath( __file__, 'export_plugins' )
		exportStaticDirectoryPath = os.path.join( exportPluginsFolderPath, 'static_plugins' )
		exportPluginFileNames = gcodec.getPluginFileNamesFromDirectoryPath( exportPluginsFolderPath )
		exportStaticPluginFileNames = gcodec.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:CNCBASHER,项目名称:skeinforge,代码行数:31,代码来源:export.py

示例7: __init__

	def __init__( self ):
		"Set the default settings, execute title & settings fileName."
		profile.addListsToCraftTypeRepository( 'skeinforge_tools.craft_plugins.whittle.html', self )
		self.fileNameInput = settings.FileNameInput().getFromFileName( 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:CNCBASHER,项目名称:skeinforge,代码行数:7,代码来源:whittle.py

示例8: __init__

	def __init__( self ):
		"Set the default preferences, execute title & preferences fileName."
		# Using string for integers so that fi	elds in Preferences dialog line up
		self.archive = []
		self.activateTwitterbot = preferences.BooleanPreference().getFromValue( 'Activate Twitterbot', False )
		self.archive.append( self.activateTwitterbot )
		self.twitterUsername = preferences.StringPreference().getFromValue( 'Twitter Username:', '' )
		self.archive.append( self.twitterUsername )
		self.twitterPassword = preferences.StringPreference().getFromValue( 'Twitter Password:', '' )
		self.archive.append( self.twitterPassword )
		self.layersBetweenTweets = preferences.StringPreference().getFromValue( 'Layers Between Tweets:', '10' )
		self.archive.append( self.layersBetweenTweets )
		self.twitterHashtags = preferences.StringPreference().getFromValue( 'Hashtag(s):', '' )
		self.archive.append( self.twitterHashtags )
		self.startMessage = preferences.StringPreference().getFromValue( 'Start Message:', 'Starting <filename>...' )
		self.archive.append( self.startMessage )
		self.progressMessage = preferences.StringPreference().getFromValue( 'Progress Message:', '<filename> layer: <layernum>' )
		self.archive.append( self.progressMessage )
		self.finishMessage = preferences.StringPreference().getFromValue( 'Finish Message:', 'Finished <filename>!' )
		self.archive.append( self.finishMessage )
		self.percentageOfQuips = preferences.StringPreference().getFromValue( 'Percentage of Quips:', '3' )
		self.archive.append( self.percentageOfQuips )
		self.quips = preferences.StringPreference().getFromValue( 'Quip(s):', "ABS is the new black!|What's that smell???|Only at line <linenum> of <totallinesnum> :(|MakerBot: fixing the future!" )
		self.archive.append( self.quips )
		#quips = to_unicode( self.quips )
		#self.archive.append( quips )
		self.fileNameInput = preferences.Filename().getFromFilename( interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File In Which To Insert Twitterbot Code', '' )
		self.archive.append( self.fileNameInput )
		#Create the archive, title of the execute button, title of the dialog & preferences fileName.
		self.executeTitle = 'Twitterbot'
		self.saveTitle = 'Save Preferences'
		preferences.setHelpPreferencesFileNameTitleWindowPosition( self, 'skeinforge_tools.twitterbot.html' )
开发者ID:TeamTeamUSA,项目名称:SkeinFox,代码行数:32,代码来源:twitterbot.py

示例9: __init__

	def __init__( self ):
		"Set the default preferences, execute title & preferences fileName."
		#Set the default preferences.
		self.archive = []
		#Create the archive, title of the execute button, title of the dialog & preferences fileName.
		self.fileNameInput = preferences.Filename().getFromFilename( interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File to be Prefaced', '' )
		self.archive.append( self.fileNameInput )
		extrusionDistanceFormatRadio = []
		self.extrusionDistanceFormatChoiceLabel = preferences.LabelDisplay().getFromName( 'Extrusion Distance Format Choice: ' )
		self.archive.append( self.extrusionDistanceFormatChoiceLabel )
		self.extrusionDistanceDoNotAddPreference = preferences.Radio().getFromRadio( 'Do Not Add Extrusion Distance', extrusionDistanceFormatRadio, True )
		self.archive.append( self.extrusionDistanceDoNotAddPreference )
		self.extrusionDistanceAbsolutePreference = preferences.Radio().getFromRadio( 'Extrusion Distance Absolute', extrusionDistanceFormatRadio, False )
		self.archive.append( self.extrusionDistanceAbsolutePreference )
		self.extrusionDistanceRelativePreference = preferences.Radio().getFromRadio( 'Extrusion Distance Relative', extrusionDistanceFormatRadio, False )
		self.archive.append( self.extrusionDistanceRelativePreference )
		self.nameOfEndFile = preferences.StringPreference().getFromValue( 'Name of End File:', 'end.gcode' )
		self.archive.append( self.nameOfEndFile )
		self.nameOfStartFile = preferences.StringPreference().getFromValue( 'Name of Start File:', 'start.gcode' )
		self.archive.append( self.nameOfStartFile )
		self.setPositioningToAbsolute = preferences.BooleanPreference().getFromValue( 'Set Positioning to Absolute', True )
		self.archive.append( self.setPositioningToAbsolute )
		self.setUnitsToMillimeters = preferences.BooleanPreference().getFromValue( 'Set Units to Millimeters', True )
		self.archive.append( self.setUnitsToMillimeters )
		self.startAtHome = preferences.BooleanPreference().getFromValue( 'Start at Home', False )
		self.archive.append( self.startAtHome )
		self.turnExtruderOffAtShutDown = preferences.BooleanPreference().getFromValue( 'Turn Extruder Off at Shut Down', True )
		self.archive.append( self.turnExtruderOffAtShutDown )
		self.turnExtruderOffAtStartUp = preferences.BooleanPreference().getFromValue( 'Turn Extruder Off at Start Up', True )
		self.archive.append( self.turnExtruderOffAtStartUp )
		#Create the archive, title of the execute button, title of the dialog & preferences fileName.
		self.executeTitle = 'Preface'
		self.saveCloseTitle = 'Save and Close'
		preferences.setHelpPreferencesFileNameTitleWindowPosition( self, 'skeinforge_tools.craft_plugins.preface.html' )
开发者ID:TeamTeamUSA,项目名称:SkeinFox,代码行数:34,代码来源:preface.py

示例10: __init__

	def __init__( self ):
		"Set the default settings, execute title & settings fileName."
		profile.addListsToCraftTypeRepository( 'skeinforge_tools.craft_plugins.coil.html', self )
		self.fileNameInput = settings.FileNameInput().getFromFileName( 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:CNCBASHER,项目名称:skeinforge,代码行数:7,代码来源:coil.py

示例11: __init__

	def __init__( self ):
		"Set the default settings, execute title & settings fileName."
		profile.addListsToCraftTypeRepository( 'skeinforge_tools.craft_plugins.widen.html', self )
		self.fileNameInput = settings.FileNameInput().getFromFileName( 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, True )
		self.executeTitle = 'Widen'
开发者ID:CNCBASHER,项目名称:skeinforge,代码行数:7,代码来源:widen.py

示例12: __init__

	def __init__( self ):
		"Set the default preferences, execute title & preferences fileName."
		#Set the default preferences.
		self.archive = []
		self.activateWipe = preferences.BooleanPreference().getFromValue( 'Activate Wipe', False )
		self.archive.append( self.activateWipe )
		self.fileNameInput = preferences.Filename().getFromFilename( interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File to be Wiped', '' )
		self.archive.append( self.fileNameInput )
		self.locationArrivalX = preferences.FloatPreference().getFromValue( 'Location Arrival X (mm):', - 70.0 )
		self.archive.append( self.locationArrivalX )
		self.locationArrivalY = preferences.FloatPreference().getFromValue( 'Location Arrival Y (mm):', - 50.0 )
		self.archive.append( self.locationArrivalY )
		self.locationArrivalZ = preferences.FloatPreference().getFromValue( 'Location Arrival Z (mm):', 50.0 )
		self.archive.append( self.locationArrivalZ )
		self.locationDepartureX = preferences.FloatPreference().getFromValue( 'Location Departure X (mm):', - 70.0 )
		self.archive.append( self.locationDepartureX )
		self.locationDepartureY = preferences.FloatPreference().getFromValue( 'Location Departure Y (mm):', - 40.0 )
		self.archive.append( self.locationDepartureY )
		self.locationDepartureZ = preferences.FloatPreference().getFromValue( 'Location Departure Z (mm):', 50.0 )
		self.archive.append( self.locationDepartureZ )
		self.locationWipeX = preferences.FloatPreference().getFromValue( 'Location Wipe X (mm):', - 70.0 )
		self.archive.append( self.locationWipeX )
		self.locationWipeY = preferences.FloatPreference().getFromValue( 'Location Wipe Y (mm):', - 70.0 )
		self.archive.append( self.locationWipeY )
		self.locationWipeZ = preferences.FloatPreference().getFromValue( 'Location Wipe Z (mm):', 50.0 )
		self.archive.append( self.locationWipeZ )
		self.wipePeriod = preferences.IntPreference().getFromValue( 'Wipe Period (layers):', 3 )
		self.archive.append( self.wipePeriod )
		#Create the archive, title of the execute button, title of the dialog & preferences fileName.
		self.executeTitle = 'Wipe'
		self.saveCloseTitle = 'Save and Close'
		preferences.setHelpPreferencesFileNameTitleWindowPosition( self, 'skeinforge_tools.craft_plugins.wipe.html' )
开发者ID:TeamTeamUSA,项目名称:SkeinFox,代码行数:32,代码来源:wipe.py

示例13: __init__

	def __init__( self ):
		"Set the default settings, execute title & settings fileName."
		profile.addListsToCraftTypeRepository( 'skeinforge_tools.craft_plugins.drill.html', self )
		self.fileNameInput = settings.FileNameInput().getFromFileName( interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Drill', self, '' )
		self.activateDrill = settings.BooleanSetting().getFromValue( 'Activate Drill', self, True )
		self.drillingMarginOnBottom = settings.FloatSpin().getFromValue( 0.0, 'Drilling Margin on Bottom (millimeters):', self, 5.0, 1.0 )
		self.drillingMarginOnTop = settings.FloatSpin().getFromValue( 0.0, 'Drilling Margin on Top (millimeters):', self, 20.0, 3.0 )
		self.executeTitle = 'Drill'
开发者ID:CNCBASHER,项目名称:skeinforge,代码行数:8,代码来源:drill.py

示例14: __init__

	def __init__( self ):
		"Set the default settings, execute title & settings fileName."
		profile.addListsToCraftTypeRepository( 'skeinforge_tools.craft_plugins.lift.html', self )
		self.fileNameInput = settings.FileNameInput().getFromFileName( interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File to be Lifted', self, '' )
		self.activateLift = settings.BooleanSetting().getFromValue( 'Activate Lift:', self, True )
		self.cuttingLiftOverLayerStep = settings.FloatSpin().getFromValue( - 1.0, 'Cutting Lift over Layer Step (ratio):', self, 1.0, - 0.5 )
		self.clearanceAboveTop = settings.FloatSpin().getFromValue( 0.0, 'Clearance above Top (mm):', self, 10.0, 5.0 )
		self.executeTitle = 'Lift'
开发者ID:CNCBASHER,项目名称:skeinforge,代码行数:8,代码来源:lift.py

示例15: __init__

	def __init__( self ):
		"Set the default settings, execute title & settings fileName."
		profile.addListsToCraftTypeRepository( 'skeinforge_tools.craft_plugins.hop.html', self )
		self.fileNameInput = settings.FileNameInput().getFromFileName( interpret.getGNUTranslatorGcodeFileTypeTuples(), 'Open File for Hop', self, '' )
		self.openWikiManualHelpPage = settings.HelpPage().getOpenFromAbsolute( 'http://www.bitsfrombytes.com/wiki/index.php?title=Skeinforge_Hop' )
		self.activateHop = settings.BooleanSetting().getFromValue( 'Activate Hop', self, False )
		self.hopOverLayerThickness = settings.FloatSpin().getFromValue( 0.5, 'Hop Over Layer Thickness (ratio):', self, 1.5, 1.0 )
		self.minimumHopAngle = settings.FloatSpin().getFromValue( 20.0, 'Minimum Hop Angle (degrees):', self, 60.0, 30.0 )
		self.executeTitle = 'Hop'
开发者ID:CNCBASHER,项目名称:skeinforge,代码行数:9,代码来源:hop.py


注:本文中的skeinforge_tools.skeinforge_utilities.interpret.getGNUTranslatorGcodeFileTypeTuples函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。