From a078a3b4da430d640a48316ff2e8fce40d3afc7b Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 26 Nov 2017 15:00:18 +0000 Subject: [PATCH] Helixish: switch to it Does not work at all yet Signed-off-by: Ian Jackson --- moebius.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/moebius.py b/moebius.py index 4294d86..081f428 100644 --- a/moebius.py +++ b/moebius.py @@ -5,6 +5,7 @@ import numpy as np from numpy import cos, sin from bezier import BezierSegment +from helixish import HelixishCurve from moenp import * import sys @@ -93,7 +94,7 @@ class MoebiusHalf: # file=sys.stderr) cp[1] = cp[0] + cp1scale * m.edge .dirn (theta) cp[2] = cp[3] + cp2scale * m.midline.dirn (theta*2) - return DoubleCubicBezier(cp) + return HelixishCurve(cp) def point(m, iu, t): ''' 0 <= iu <= nu meaning 0 <= u <= 1 -- 2.30.2