From f316faa37f8536062bcb587000232b5a64a1cf02 Mon Sep 17 00:00:00 2001 From: looooo Date: Mon, 18 Sep 2017 14:16:27 +0200 Subject: [PATCH] 1 != 2 --- gearfunc/_involute_tooth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gearfunc/_involute_tooth.py b/gearfunc/_involute_tooth.py index d036519..9f0fd04 100644 --- a/gearfunc/_involute_tooth.py +++ b/gearfunc/_involute_tooth.py @@ -178,7 +178,7 @@ class involute_rack(object): ] teeth = [tooth] trans = translation([0., m * pi, 0.]) - for i in range(self.z): + for i in range(self.z - 1): teeth.append(trans(teeth[-1])) teeth = list(np.vstack(teeth)) teeth.append(list(teeth[-1]))