mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-12-09 15:29:09 +00:00
zjump bugfix
This commit is contained in:
parent
fb8be5baa6
commit
31ca7534ec
1 changed files with 1 additions and 1 deletions
|
|
@ -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) :
|
||||
|
|
|
|||
Loading…
Reference in a new issue