Esempio n. 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 )
Esempio n. 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
Esempio n. 3
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
Esempio n. 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)
Esempio n. 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
Esempio n. 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