From aba96664f814aaf5f1e0b9a3a0c53ecf4eb070df Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 5 Nov 2017 01:02:19 +0000 Subject: [PATCH] bugfixes Signed-off-by: Ian Jackson --- Makefile | 2 +- moebius.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index bf04a5e..cc563a2 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ all: moebius-core.scad -moebius-core.scad: genscad +moebius-core.scad: genscad moebius.py ./$< >$@.tmp && mv -f $@.tmp $@ diff --git a/moebius.py b/moebius.py index a5ed8d1..f2a29da 100644 --- a/moebius.py +++ b/moebius.py @@ -96,7 +96,7 @@ class MoebiusHalf: if t == 0: dirn = m.edge.dirn(m._thetas[iu], extra_zeta=-tau/4) elif iu == m.nu: - return MoebiusHalf.point_offset(m, 0, 1-t, -offset) + return MoebiusHalf.point_offset(m, 0, t, offset) else: vec_t = MoebiusHalf.point(m, iu, t + 0.01) - p vec_u = MoebiusHalf.point(m, iu+1, t) - p -- 2.30.2