If somebody could help me out with this I would appreciate it. I just started to experiment with script writing and have written this toolpath generating script that works in Metric, but when you try to run it in English it won't work. I have tried a few variations and can't manage to get it right.
dim V_X2 as double
dim V_Y2 as double
dim V_Z2 as double
dim V_COPIES as integer
Ask Header="Translate Repeat", Output, Cancel=canc, "X Translate;0"=V_X2, "Y Translate;0"=V_Y2,"Z Translate;0"=V_Z2
If canc Then
Exit
End If
Translate Type = 2, X1 = 0, Y1 = 0, Z1 = 0, X2 = V_X2, Y2 = V_Y2, Z2 = V_Z2 \
, Copy = FALSE, Scale = 1, NCopies = 0, Drag = FALSE
Ask Header="Translate Repeat2", Output, Cancel=canc, "X Translate Repeat;0"=V_X2, "Y Translate Repeat;0"=V_Y2,"Z Translate Repeat;0"=V_Z2,"# COPIES;0"=V_COPIES
If canc Then
Exit
End If
Translate Type = 2, X1 = 0, Y1 = 0, Z1 = 0, X2 = V_X2, Y2 = V_Y2, Z2 = V_Z2 \
, Copy = TRUE, Scale = 1, NCopies = V_COPIES, Drag = FALSE
Reverse2
Linejoin
UnselectAll
Thanks, Idiod