From: Ian Jackson Date: Sun, 26 Nov 2017 15:00:18 +0000 (+0000) Subject: Helixish: switch to it X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=a078a3b4da430d640a48316ff2e8fce40d3afc7b;p=moebius3.git Helixish: switch to it Does not work at all yet Signed-off-by: Ian Jackson --- 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