From 895c1cc09247d8490891c1893fc8ee830f125230 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 8 Apr 2018 14:21:48 +0100 Subject: [PATCH] curveopt: show it in a better way Signed-off-by: Ian Jackson --- curveopt.py | 2 +- visual | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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: -- 2.30.2