def addEntireLayer( self, layerIndex ): "Add entire thread layer." surroundingLoops = self.islandLayers[ layerIndex ] threadLayer = self.threadLayers[ layerIndex ] self.distanceFeedRate.addLines( threadLayer.beforeExtrusionLines ) euclidean.addToThreadsRemoveFromSurroundings( self.oldOrderedLocation, surroundingLoops, self ) self.distanceFeedRate.addLines( threadLayer.afterExtrusionLines )
def addEntireLayer( self, layerIndex ): "Add entire thread layer." surroundingLoops = self.islandLayers[ layerIndex ] for line in self.threadLayers[ layerIndex ].beforeExtrusionLines: self.addLine( line ) euclidean.addToThreadsRemoveFromSurroundings( self.oldOrderedLocation, surroundingLoops, self )