cleanup
This commit is contained in:
@@ -443,8 +443,7 @@ def helicalextrusion(wire, height, angle, double_helix = False):
|
||||
first_spine = makeHelix(height * 2 * pi / abs(angle), 0.5 * height, 10., 0, direction)
|
||||
first_solid = first_spine.makePipeShell([wire], True, True)
|
||||
second_solid = first_solid.mirror(fcvec([0,0,0.5 * height]), fcvec([0,0,1]))
|
||||
compound = makeCompound([first_solid, second_solid])
|
||||
return compound
|
||||
return makeCompound([first_solid, second_solid])
|
||||
else:
|
||||
first_spine = makeHelix(height * 2 * pi / abs(angle), height, 10., 0, direction)
|
||||
first_solid = first_spine.makePipeShell([wire], True, True)
|
||||
|
||||
Reference in New Issue
Block a user