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, 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, 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, z ): "Add the remainder of the loop which does not overlap the alreadyFilledArounds loops." euclidean.addSurroundingLoopBeginning( loop, self, z ) isIntersectingSelf = isIntersectingItself( loop, self.extrusionWidth ) if isIntersectingWithinLists( loop, loopLists ) or isIntersectingSelf: self.addGcodeFromPerimeterPaths( isIntersectingSelf, loop, loopLists, radius, z ) else: self.addLine( '(<perimeter>)' ) # Indicate that a perimeter is beginning. self.addGcodeFromThreadZ( loop + [ loop[ 0 ] ], z ) self.addLine( '(</perimeter>)' ) # Indicate that a perimeter is beginning. self.addLine( '(</surroundingLoop>)' )
def addGcodeFromRemainingLoop(self, loop, loopLists, radius, z): "Add the remainder of the loop which does not overlap the alreadyFilledArounds loops." euclidean.addSurroundingLoopBeginning(loop, self, z) isIntersectingSelf = isIntersectingItself(loop, self.extrusionWidth) if isIntersectingWithinLists(loop, loopLists) or isIntersectingSelf: self.addGcodeFromPerimeterPaths(isIntersectingSelf, loop, loopLists, radius, z) else: self.addLine( '(<perimeter>)') # Indicate that a perimeter is beginning. self.addGcodeFromThreadZ(loop + [loop[0]], z) self.addLine( '(</perimeter>)') # Indicate that a perimeter is beginning. self.addLine('(</surroundingLoop>)')
def addGcodeFromLoop( self, loop, z ): "Add the remainder of the loop which does not overlap the alreadyFilledArounds loops." euclidean.addSurroundingLoopBeginning( loop, self, z ) self.distanceFeedRate.addPerimeterBlock( loop, z ) self.distanceFeedRate.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( '(</surroundingLoop>)' )