From 5aba1dbd37afe0078ba09dbf6cf142b559d82d2b Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 30 Dec 2017 12:11:34 +0000 Subject: [PATCH] helixish: railway_inplane_basis should not include a scale factor Err, maybe it should ? Signed-off-by: Ian Jackson --- helixish.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helixish.py b/helixish.py index 1d36fae..e49ed12 100644 --- a/helixish.py +++ b/helixish.py @@ -89,7 +89,7 @@ class HelixishCurve(): railway_cos_theta = cos(railway_theta) railway_cos_phi = cos(railway_phi) - railway_inplane_basis_x = np.hstack((q_plane[0:2], [0])) + railway_inplane_basis_x = unit_v(np.hstack((q_plane[0:2], [0]))) railway_inplane_basis = np.column_stack(( railway_inplane_basis_x, np.cross([0,0,1], railway_inplane_basis_x), -- 2.30.2