From 0aefe1e529172800660e4d0a8f64488f33ef18e6 Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Sun, 25 Dec 2016 23:45:03 -0800 Subject: [PATCH] Coord system that sort of makes sense --- test.scad | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/test.scad b/test.scad index 6ac65fe..cc4440b 100644 --- a/test.scad +++ b/test.scad @@ -7,12 +7,11 @@ module testAxes(translation=[0, 0, 0], rotation=[0, 0, 0]) { } testAxes(translation=[0, 0, 200], rotation=[0, 0, 0]); -testAxes(translation=[200, 0, 0], rotation=[0, 180, ]); -testAxes(translation=[0, 0, -200], rotation=[180, 0, 0]); -testAxes(translation=[-200, 0, 0], rotation=[0, -90, 0]); -testAxes(translation=[0, 200, 0], rotation=[-90, 0, 0]); -testAxes(translation=[0, -200, 0], rotation=[90, 0, 0]); - +testAxes(translation=[0, 200, 0], rotation=[270, 90, 0]); +testAxes(translation=[0, 0, -200], rotation=[0, 180, 180]); +testAxes(translation=[0, -200, 0], rotation=[90, 90, 0]); +testAxes(translation=[200, 0, 0], rotation=[90, 0, 90]); +testAxes(translation=[-200, 0, 0], rotation=[270, 0, 90]); //result = fAttach(fCube(10), "top", fCube(5), "bottom5"); //result = fRotate(fCube(5), "front", [0, 360, 360]);