예제 #1
0
	def getStretchedLine( self, splitLine ):
		"Get stretched gcode line."
		location = gcodec.getLocationFromSplitLine( self.oldLocation, splitLine )
		self.feedrateMinute = gcodec.getFeedrateMinute( self.feedrateMinute, splitLine )
		if self.oldLocation != None:
			self.addStretchesBeforePoint( location )
		self.oldLocation = location
		return self.getStretchedLineFromIndexLocation( self.lineIndex - 1, self.lineIndex + 1, location )
예제 #2
0
	def linearMove( self, splitLine ):
		"Add a linear move to the loop."
		location = gcodec.getLocationFromSplitLine( self.oldLocation, splitLine )
		self.feedrateMinute  = gcodec.getFeedrateMinute( self.feedrateMinute, splitLine )
		self.feedrateTable[ location ] = self.feedrateMinute
		if self.extruderActive:
			self.addToExtrusion( location )
		self.oldLocation = location
예제 #3
0
파일: tower.py 프로젝트: syky27/emcrepstrap
 def linearMove(self, splitLine):
     "Add a linear move to the loop."
     location = gcodec.getLocationFromSplitLine(self.oldLocation, splitLine)
     self.feedrateMinute = gcodec.getFeedrateMinute(self.feedrateMinute,
                                                    splitLine)
     self.feedrateTable[location] = self.feedrateMinute
     if self.extruderActive:
         self.addToExtrusion(location)
     self.oldLocation = location
예제 #4
0
 def getStretchedLine(self, splitLine):
     "Get stretched gcode line."
     location = gcodec.getLocationFromSplitLine(self.oldLocation, splitLine)
     self.feedrateMinute = gcodec.getFeedrateMinute(self.feedrateMinute,
                                                    splitLine)
     if self.oldLocation != None:
         self.addStretchesBeforePoint(location)
     self.oldLocation = location
     return self.getStretchedLineFromIndexLocation(self.lineIndex - 1,
                                                   self.lineIndex + 1,
                                                   location)
예제 #5
0
	def linearMove( self, splitLine ):
		"Bevel a linear move."
		location = gcodec.getLocationFromSplitLine( self.oldLocation, splitLine )
		self.feedrateMinute = gcodec.getFeedrateMinute( self.feedrateMinute, splitLine )
		if not self.extruderActive:
			return
		if self.oldActiveLocation != None:
			nextActive = self.getNextActive()
			if nextActive != None:
				self.shouldAddLine = False
				location = self.splitPointGetAfter( location, nextActive, self.oldActiveLocation )
		self.oldActiveLocation = location
예제 #6
0
 def linearMove(self, splitLine):
     "Bevel a linear move."
     location = gcodec.getLocationFromSplitLine(self.oldLocation, splitLine)
     self.feedrateMinute = gcodec.getFeedrateMinute(self.feedrateMinute,
                                                    splitLine)
     if not self.extruderActive:
         return
     if self.oldActiveLocation != None:
         nextActive = self.getNextActive()
         if nextActive != None:
             self.shouldAddLine = False
             location = self.splitPointGetAfter(location, nextActive,
                                                self.oldActiveLocation)
     self.oldActiveLocation = location