def getManipulatedPaths(close, loop, prefix, sideLength, xmlElement): "Get path with overhangs removed or filled in." if len(loop) < 2: return [loop] isClosed = evaluate.getEvaluatedBooleanDefault(False, prefix + 'closed', xmlElement) radius = lineation.getStrokeRadiusByPrefix(prefix, xmlElement ) loopComplex = euclidean.getComplexPath(loop) if isClosed: loopComplexes = intercircle.getAroundsFromLoop(loopComplex, radius) else: loopComplexes = intercircle.getAroundsFromPath(loopComplex, radius) return euclidean.getVector3Paths(loopComplexes, loop[0].z)
def getManipulatedPaths(close, elementNode, loop, prefix, sideLength): "Get path with outline." if len(loop) < 2: return [loop] isClosed = evaluate.getEvaluatedBoolean(False, elementNode, prefix + 'closed') radius = lineation.getStrokeRadiusByPrefix(elementNode, prefix ) loopComplex = euclidean.getComplexPath(loop) if isClosed: loopComplexes = intercircle.getAroundsFromLoop(loopComplex, radius) else: loopComplexes = intercircle.getAroundsFromPath(loopComplex, radius) return euclidean.getVector3Paths(loopComplexes, loop[0].z)
def getManipulatedPaths(close, elementNode, loop, prefix, sideLength): "Get path with outline." if len(loop) < 2: return [loop] isClosed = evaluate.getEvaluatedBoolean(False, elementNode, prefix + 'closed') radius = lineation.getStrokeRadiusByPrefix(elementNode, prefix) loopComplex = euclidean.getComplexPath(loop) if isClosed: loopComplexes = intercircle.getAroundsFromLoop(loopComplex, radius) else: loopComplexes = intercircle.getAroundsFromPath(loopComplex, radius) return euclidean.getVector3Paths(loopComplexes, loop[0].z)
def getManipulatedPaths(close, elementNode, loop, prefix, sideLength): "Get inset path." radius = lineation.getStrokeRadiusByPrefix(elementNode, prefix) return intercircle.getInsetLoopsFromVector3Loop(loop, radius)
def getManipulatedPaths(close, loop, prefix, sideLength, xmlElement): "Get outset path." radius = lineation.getStrokeRadiusByPrefix(prefix, xmlElement ) return intercircle.getInsetLoopsFromVector3Loop(loop, -radius)