Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(12) | Call(12) | Derive(0) | Import(0)
src/s/k/SkeinFox-HEAD/skeinforge-0006/skeinforge_tools/analyze_plugins/statistic.py SkeinFox(Download)
def getLocationSetFeedrateToSplitLine( self, splitLine ): location = gcodec.getLocationFromSplitLine( self.oldLocation, splitLine ) indexOfF = gcodec.indexOfStartingWithSecond( "F", splitLine ) if indexOfF > 0: self.feedrateMinute = gcodec.getDoubleAfterFirstLetter( splitLine[ indexOfF ] )
location += self.oldLocation center = self.oldLocation.copy() indexOfR = gcodec.indexOfStartingWithSecond( "R", splitLine ) if indexOfR > 0: radius = gcodec.getDoubleAfterFirstLetter( splitLine[ indexOfR ] )
src/s/k/SkeinFox-HEAD/skeinforge-0005/skeinforge_tools/analyze_plugins/statistic.py SkeinFox(Download)
def getLocationSetFeedrateToSplitLine( self, splitLine ): location = gcodec.getLocationFromSplitLine( self.oldLocation, splitLine ) indexOfF = gcodec.indexOfStartingWithSecond( "F", splitLine ) if indexOfF > 0: self.feedrateMinute = gcodec.getDoubleAfterFirstLetter( splitLine[ indexOfF ] )
location += self.oldLocation center = self.oldLocation.copy() indexOfR = gcodec.indexOfStartingWithSecond( "R", splitLine ) if indexOfR > 0: radius = gcodec.getDoubleAfterFirstLetter( splitLine[ indexOfR ] )
src/s/k/SkeinFox-HEAD/2010-02-25_skeinforge_withRaftless/skeinforge_tools/analyze_plugins/statistic.py SkeinFox(Download)
def getLocationSetFeedRateToSplitLine( self, splitLine ): location = gcodec.getLocationFromSplitLine( self.oldLocation, splitLine ) indexOfF = gcodec.indexOfStartingWithSecond( "F", splitLine ) if indexOfF > 0: self.feedRateMinute = gcodec.getDoubleAfterFirstLetter( splitLine[ indexOfF ] )
location += self.oldLocation center = self.oldLocation.copy() indexOfR = gcodec.indexOfStartingWithSecond( "R", splitLine ) if indexOfR > 0: radius = gcodec.getDoubleAfterFirstLetter( splitLine[ indexOfR ] )
src/s/k/SkeinFox-HEAD/2010-02-25_skeinforge_withRaftless/skeinforge_tools/craft_plugins/raftless.py SkeinFox(Download)
roundedYString = 'Y' + self.distanceFeedRate.getRounded( introY ) roundedFString = 'F' + self.distanceFeedRate.getRounded( introFeed ) indexOfX = gcodec.indexOfStartingWithSecond( 'X', splitG1Line ) introLine = line if indexOfX == -1: introLine = introLine + ' ' + roundedXString; else: word = splitG1Line[ indexOfX ] introLine = introLine.replace( word, roundedXString ) indexOfY = gcodec.indexOfStartingWithSecond( 'Y', splitG1Line )
word = splitG1Line[ indexOfY ] introLine = introLine.replace( word, roundedYString ) indexOfF = gcodec.indexOfStartingWithSecond( 'F', splitG1Line ) if indexOfF == -1: introLine = introLine + ' ' + roundedFString;
def getRaftlessSpeededLine( self, line, splitLine ): "Get gcode line with raftless feed rate." roundedFString = 'F' + self.distanceFeedRate.getRounded( self.feedRateMinute ) indexOfF = gcodec.indexOfStartingWithSecond( 'F', splitLine ) if indexOfF == - 1:
src/s/k/SkeinFox-HEAD/skeinforge-0006/skeinforge_tools/hop.py SkeinFox(Download)
def getHopLine( self, line ): "Get hopped gcode line." splitLine = line.split( ' ' ) indexOfF = gcodec.indexOfStartingWithSecond( "F", splitLine ) if indexOfF > 0:
src/s/k/SkeinFox-HEAD/skeinforge-0005/skeinforge_tools/hop.py SkeinFox(Download)
def getHopLine( self, line ): "Get hopped gcode line." splitLine = line.split( ' ' ) indexOfF = gcodec.indexOfStartingWithSecond( "F", splitLine ) if indexOfF > 0: