From 38b03df09bc0fa83ab9a767e11ec6b2c44fdabe5 Mon Sep 17 00:00:00 2001 From: kcleung Date: Tue, 27 Jun 2017 09:37:46 +1200 Subject: [PATCH] cleanup --- gearfunc/_Classes.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gearfunc/_Classes.py b/gearfunc/_Classes.py index d861956..fd605bb 100644 --- a/gearfunc/_Classes.py +++ b/gearfunc/_Classes.py @@ -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)