Exemplo n.º 1
0
	def addGcodeFromRemainingLoop( self, loop, radius, z ):
		'Add the remainder of the loop.'
		boundary = intercircle.getLargestInsetLoopFromLoopRegardless( loop, radius )
		euclidean.addSurroundingLoopBeginning( self.distanceFeedRate, boundary, z )
		self.distanceFeedRate.addPerimeterBlock(loop, z)
		self.distanceFeedRate.addLine('(</boundaryPerimeter>)')
		self.distanceFeedRate.addLine('(</nestedRing>)')
Exemplo n.º 2
0
	def addGcodeFromRemainingLoop( self, loop, radius, z ):
		"Add the remainder of the loop."
		boundary = intercircle.getLargestInsetLoopFromLoopRegardless( loop, radius )
		euclidean.addSurroundingLoopBeginning( self.distanceFeedRate, boundary, z )
		self.distanceFeedRate.addPerimeterBlock(loop, z)
		self.distanceFeedRate.addLine('(</boundaryPerimeter>)')
		self.distanceFeedRate.addLine('(</surroundingLoop>)')
Exemplo n.º 3
0
	def addGcodeFromRemainingLoop(self, loop, loopLists, radius, rotatedLoopLayer):
		"""Add the remainder of the loop which does not overlap the alreadyFilledArounds loops."""
		centerOutset = intercircle.getLargestCenterOutsetLoopFromLoopRegardless(loop, radius)
		euclidean.addSurroundingLoopBeginning(self.distanceFeedRate, centerOutset.outset, rotatedLoopLayer.z)
		self.addGcodePerimeterBlockFromRemainingLoop(centerOutset.center, loopLists, radius, rotatedLoopLayer)
		self.distanceFeedRate.addLine('(</boundaryPerimeter>)')
		self.distanceFeedRate.addLine('(</nestedRing>)')
Exemplo n.º 4
0
	def addGcodeFromRemainingLoop( self, loop, radius, z ):
		"Add the remainder of the loop."
		boundary = intercircle.getLargestInsetLoopFromLoopNoMatterWhat( loop, radius )
		euclidean.addSurroundingLoopBeginning( self.distanceFeedRate, boundary, z )
		self.distanceFeedRate.addPerimeterBlock( loop, z )
		self.distanceFeedRate.addLine( '(</boundaryPerimeter>)' )
		self.distanceFeedRate.addLine( '(</surroundingLoop>)' )
Exemplo n.º 5
0
	def addGcodeFromRemainingLoop(self, loop, loopLists, radius, rotatedLoopLayer):
		"Add the remainder of the loop which does not overlap the alreadyFilledArounds loops."
		centerOutset = intercircle.getLargestCenterOutsetLoopFromLoopRegardless(loop, radius)
		euclidean.addSurroundingLoopBeginning(self.distanceFeedRate, centerOutset.outset, rotatedLoopLayer.z)
		self.addGcodePerimeterBlockFromRemainingLoop(centerOutset.center, loopLists, radius, rotatedLoopLayer)
		self.distanceFeedRate.addLine('(</boundaryPerimeter>)')
		self.distanceFeedRate.addLine('(</nestedRing>)')
Exemplo n.º 6
0
	def addGcodeFromRemainingLoop( self, loop, loopLists, radius, z ):
		"Add the remainder of the loop which does not overlap the alreadyFilledArounds loops."
		boundary = intercircle.getLargestInsetLoopFromLoopNoMatterWhat( loop, - radius )
		euclidean.addSurroundingLoopBeginning( self.distanceFeedRate, boundary, z )
		self.addGcodePerimeterBlockFromRemainingLoop( loop, loopLists, radius, z )
		self.distanceFeedRate.addLine( '(</boundaryPerimeter>)' )
		self.distanceFeedRate.addLine( '(</surroundingLoop>)' )
Exemplo n.º 7
0
 def addGcodeFromRemainingLoop(self, loop, loopLists, radius, z):
     "Add the remainder of the loop which does not overlap the alreadyFilledArounds loops."
     boundary = intercircle.getLargestInsetLoopFromLoopNoMatterWhat(
         loop, -radius)
     euclidean.addSurroundingLoopBeginning(self.distanceFeedRate, boundary,
                                           z)
     self.addGcodePerimeterBlockFromRemainingLoop(loop, loopLists, radius,
                                                  z)
     self.distanceFeedRate.addLine('(</boundaryPerimeter>)')
     self.distanceFeedRate.addLine('(</surroundingLoop>)')
Exemplo n.º 8
0
	def addGcodeFromRemainingLoop( self, loop, loopLists, radius, z ):
		"Add the remainder of the loop which does not overlap the alreadyFilledArounds loops."
#		boundary = intercircle.getLargestInsetLoopFromLoopRegardless( loop, - radius )
#		loop = euclidean.getSimplifiedLoop( intercircle.getCentersFromLoopDirection( euclidean.isWiddershins(loop), loop, radius )[0], radius )
#		euclidean.addSurroundingLoopBeginning( self.distanceFeedRate, boundary, z )
#		self.addGcodePerimeterBlockFromRemainingLoop( loop, loopLists, radius, z )
		centerOutset = intercircle.getLargestCenterOutsetLoopFromLoopRegardless( loop, radius )
		euclidean.addSurroundingLoopBeginning( self.distanceFeedRate, centerOutset.outset, z )
		self.addGcodePerimeterBlockFromRemainingLoop( centerOutset.center, loopLists, radius, z )
#		boundary = intercircle.getLargestInsetLoopFromLoopNoMatterWhat( loop, - radius )
#		euclidean.addSurroundingLoopBeginning( self.distanceFeedRate, boundary, z )
#		self.addGcodePerimeterBlockFromRemainingLoop( loop, loopLists, radius, z )
		self.distanceFeedRate.addLine('(</boundaryPerimeter>)')
		self.distanceFeedRate.addLine('(</nestedRing>)')
Exemplo n.º 9
0
 def addGcodeFromRemainingLoop(self, loop, loopLists, radius, z):
     "Add the remainder of the loop which does not overlap the alreadyFilledArounds loops."
     #		boundary = intercircle.getLargestInsetLoopFromLoopRegardless( loop, - radius )
     #		loop = euclidean.getSimplifiedLoop( intercircle.getCentersFromLoopDirection( euclidean.isWiddershins(loop), loop, radius )[0], radius )
     #		euclidean.addSurroundingLoopBeginning( self.distanceFeedRate, boundary, z )
     #		self.addGcodePerimeterBlockFromRemainingLoop( loop, loopLists, radius, z )
     centerOutset = intercircle.getLargestCenterOutsetLoopFromLoopRegardless(
         loop, radius)
     euclidean.addSurroundingLoopBeginning(self.distanceFeedRate,
                                           centerOutset.outset, z)
     self.addGcodePerimeterBlockFromRemainingLoop(centerOutset.center,
                                                  loopLists, radius, z)
     #		boundary = intercircle.getLargestInsetLoopFromLoopNoMatterWhat( loop, - radius )
     #		euclidean.addSurroundingLoopBeginning( self.distanceFeedRate, boundary, z )
     #		self.addGcodePerimeterBlockFromRemainingLoop( loop, loopLists, radius, z )
     self.distanceFeedRate.addLine('(</boundaryPerimeter>)')
     self.distanceFeedRate.addLine('(</nestedRing>)')
Exemplo n.º 10
0
 def addGcodeFromLoop(self, loop, z):
     "Add the gcode loop."
     euclidean.addSurroundingLoopBeginning(self, loop, z)
     self.addPerimeterBlock(loop, z)
     self.addLine('(</boundaryPerimeter>)')
     self.addLine('(</surroundingLoop>)')
Exemplo n.º 11
0
	def addGcodeFromLoop(self, loop, z):
		'Add the gcode loop.'
		euclidean.addSurroundingLoopBeginning(self, loop, z)
		self.addPerimeterBlock(loop, z)
		self.addLine('(</boundaryPerimeter>)')
		self.addLine('(</surroundingLoop>)')
Exemplo n.º 12
0
	def addGcodeFromLoop(self, loop, z):
		"""Add the gcode loop."""
		euclidean.addSurroundingLoopBeginning(self, loop, z)
		self.addPerimeterBlock(loop, z)
		self.addLine('(</boundaryPerimeter>)')
		self.addLine('(</nestedRing>)')