From 31ca7534ecd399c21db0aa059a2085088a3765e2 Mon Sep 17 00:00:00 2001 From: Adrian Mariano Date: Fri, 28 Feb 2025 17:03:50 -0500 Subject: [PATCH] zjump bugfix --- turtle3d.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/turtle3d.scad b/turtle3d.scad index 3895679a..01fecfff 100644 --- a/turtle3d.scad +++ b/turtle3d.scad @@ -541,7 +541,7 @@ function _turtle3d_command(command, parm, parm2, state, index) = command=="jump" ? _tupdate(state,[move(parm-lastpt)*lastT],[lastPre]): command=="xjump" ? _tupdate(state,[move([parm,lastpt.y,lastpt.z]-lastpt)*lastT],[lastPre]): command=="yjump" ? _tupdate(state,[move([lastpt.x,parm,lastpt.z]-lastpt)*lastT],[lastPre]): - command=="yjump" ? _tupdate(state,[move([lastpt.x,lastpt.y,parm]-lastpt)*lastT],[lastPre]): + command=="zjump" ? _tupdate(state,[move([lastpt.x,lastpt.y,parm]-lastpt)*lastT],[lastPre]): command=="angle" ? assert(parm!=0,str("\"",command,"\" requires nonnegative argument at index ",index)) list_set(state, angle, parm) : command=="length" ? list_set(state, movestep, parm) :