From 4632b1defebe17221058527d2217d5c7e56eca22 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 29 Nov 2017 19:40:00 +0000 Subject: [PATCH] helixish: fix tilt sense Signed-off-by: Ian Jackson --- helixish.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helixish.py b/helixish.py index dde107d..a4519a2 100644 --- a/helixish.py +++ b/helixish.py @@ -142,8 +142,8 @@ class HelixishCurve(): tilt = atan(start_mu) tilt_basis = np.array([ [ 1, 0, 0, 0 ], - [ 0, cos(tilt), -sin(tilt), 0 ], - [ 0, sin(tilt), cos(tilt), 0 ], + [ 0, cos(tilt), sin(tilt), 0 ], + [ 0, -sin(tilt), cos(tilt), 0 ], [ 0, 0, 0, 1 ], ]) findcurve_basis = matmatmultiply(dPQplane_basis, tilt_basis) -- 2.30.2