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>)')
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>)')
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>)')
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>)' )
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>)')
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>)' )
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>)')
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>)')
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>)')
def addGcodeFromLoop(self, loop, z): "Add the gcode loop." euclidean.addSurroundingLoopBeginning(self, loop, z) self.addPerimeterBlock(loop, z) self.addLine('(</boundaryPerimeter>)') self.addLine('(</surroundingLoop>)')
def addGcodeFromLoop(self, loop, z): 'Add the gcode loop.' euclidean.addSurroundingLoopBeginning(self, loop, z) self.addPerimeterBlock(loop, z) self.addLine('(</boundaryPerimeter>)') self.addLine('(</surroundingLoop>)')
def addGcodeFromLoop(self, loop, z): """Add the gcode loop.""" euclidean.addSurroundingLoopBeginning(self, loop, z) self.addPerimeterBlock(loop, z) self.addLine('(</boundaryPerimeter>)') self.addLine('(</nestedRing>)')