From: Ian Jackson Date: Sun, 5 Nov 2017 01:02:19 +0000 (+0000) Subject: bugfixes X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=aba96664f814aaf5f1e0b9a3a0c53ecf4eb070df;p=moebius3.git bugfixes Signed-off-by: Ian Jackson --- 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