from numpy import cos, sin
from bezier import BezierSegment
+from recursivebezier import RecursiveBezierishCurve
from moenp import *
import sys
m._thetas = [ u * tau for u in np.linspace(0, 1, nu+1) ]
m._cp2b = BezierSegment([ (c,) for c in [0.33,0.33, 1.50]])
m._beziers = [ m._bezier(theta) for theta in m._thetas ]
- def _bezier(m, theta, constructor=DoubleCubicBezier):
+ def _bezier(m, theta, constructor=RecursiveBezierishCurve):
cp = [None] * 4
cp[0] = m.edge .point(theta)
cp[3] = m.midline.point(theta*2)