From d66838c49517f07006efc02085444eeede2ff63f Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 23 Dec 2017 11:27:49 +0000 Subject: [PATCH] helixish: debugging output Signed-off-by: Ian Jackson --- helixish.py | 4 +++- visual | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/helixish.py b/helixish.py index f4e4195..b9a51ae 100644 --- a/helixish.py +++ b/helixish.py @@ -53,6 +53,8 @@ class HelixishCurve(): dPQplane_normal = unit_v(dPQplane_normal) + vdbg().arrow([0,0,0], dPQplane_normal) + dPQplane_basis = np.column_stack((np.cross(dp, dPQplane_normal), dp, dPQplane_normal, @@ -60,7 +62,7 @@ class HelixishCurve(): #dbg(dPQplane_basis) dPQplane_basis = np.vstack((dPQplane_basis, [0,0,0,1])) dbg(dPQplane_basis) - + vdbg().basis(dPQplane_basis) dPQplane_into = np.linalg.inv(dPQplane_basis) diff --git a/visual b/visual index 1d1b2ce..9f98ad7 100755 --- a/visual +++ b/visual @@ -10,6 +10,10 @@ from bezier import BezierSegment import numpy as np import sys +scene.width = 1200 +scene.height = 1200 +scene.fov = 1E-3 + from moebius import * from moedebug import * -- 2.30.2