This commit is contained in:
kcleung
2017-06-27 09:37:46 +12:00
committed by lorenz
parent 42ebf8b59b
commit 38b03df09b

View File

@@ -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)