From: Ian Jackson Date: Sun, 8 Apr 2018 13:21:48 +0000 (+0100) Subject: curveopt: show it in a better way X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=895c1cc09247d8490891c1893fc8ee830f125230;p=moebius3.git curveopt: show it in a better way Signed-off-by: Ian Jackson --- diff --git a/curveopt.py b/curveopt.py index 067377a..8825da5 100644 --- a/curveopt.py +++ b/curveopt.py @@ -109,7 +109,7 @@ class OptimisedCurve(): oc._result = np.reshape(findcurve_result, (-1,3), 'C') oc._dbg(repr(oc._result)) - vdbg().curve( oc.point_at_t ) + #vdbg().curve( oc.point_at_t ) def point_at_it(oc, it): oc._await_subproc() diff --git a/visual b/visual index 52620b8..6070953 100755 --- a/visual +++ b/visual @@ -54,10 +54,10 @@ ws = range(0, nw+1) #c1 = curve( color=color.blue, pos = [ m.midline.point(th) for th in thetas ] ) for v in vs: - c2 = curve( color=color.blue, pos = [ m.point(v,w) for w in ws ] ) + c2 = curve( color=color.green, pos = [ m.point(v,w) for w in ws ] ) -#for w in ws: -# c3 = curve( color=color.blue, pos = [ m.point(v,w) for v in vs ] ) +for w in ws: + c3 = curve( color=color.blue, pos = [ m.point(v,w) for v in vs ] ) #for v in vs: