def getZAddExtruderPaths( self, z ): "Get next z and add extruder loops." rotatedBoundaryLayer = self.getExtruderPaths( True, trianglemesh.getEmptyZ( self, z ) ) self.rotatedBoundaryLayers.append( rotatedBoundaryLayer ) if self.bridgeLayerThickness == None: return z + self.layerThickness allExtrudateLoops = [] for loop in rotatedBoundaryLayer.loops: allExtrudateLoops += trianglemesh.getBridgeLoops( self.layerThickness, loop ) rotatedBoundaryLayer.rotation = trianglemesh.getBridgeDirection( self.belowLoops, allExtrudateLoops, self.layerThickness ) self.belowLoops = allExtrudateLoops if rotatedBoundaryLayer.rotation == None: return z + self.layerThickness return z + self.bridgeLayerThickness
def getZAddExtruderPaths( self, z ): "Get next z and add extruder loops." settings.printProgress(len(self.rotatedBoundaryLayers), 'slice') rotatedBoundaryLayer = self.getEmptyZExtruderPaths(True, z) self.rotatedBoundaryLayers.append( rotatedBoundaryLayer ) if self.bridgeLayerThickness == None: return z + self.layerThickness allExtrudateLoops = [] for loop in rotatedBoundaryLayer.loops: allExtrudateLoops += trianglemesh.getBridgeLoops( self.layerThickness, loop ) rotatedBoundaryLayer.rotation = trianglemesh.getBridgeDirection( self.belowLoops, allExtrudateLoops, self.layerThickness ) self.belowLoops = allExtrudateLoops if rotatedBoundaryLayer.rotation == None: return z + self.layerThickness return z + self.bridgeLayerThickness
def getZAddExtruderPaths( self, z ): "Get next z and add extruder loops." settings.printProgress(len(self.rotatedLoopLayers), 'slice') rotatedLoopLayer = self.getEmptyZExtruderPaths(True, z) self.rotatedLoopLayers.append( rotatedLoopLayer ) if self.bridgeLayerThickness == None: return z + self.layerThickness allExtrudateLoops = [] for loop in rotatedLoopLayer.loops: allExtrudateLoops += trianglemesh.getBridgeLoops( self.layerThickness, loop ) rotatedLoopLayer.rotation = trianglemesh.getBridgeDirection( self.belowLoops, allExtrudateLoops, self.layerThickness ) self.belowLoops = allExtrudateLoops if rotatedLoopLayer.rotation == None: return z + self.layerThickness return z + self.bridgeLayerThickness