I meant for you to copy those functions from YOUR post and put them here for me to see it so I can try to find where your problem is.
Sorry for the confusion.
For the G02 G03 problem, I would guess your post is forcing the output of null values.
Look for this
Code:
parc #Select the arc output
if arcoutput = zero,
[
#Arc output for IJK
if plane = zero, *i, *j, k
if plane = one, i, *j, *k
if plane = two, *i, j, *k
]
else,
[
#Arc output for R
if abs(sweep)<=180 | arcoutput=one, result = nwadrs(srad, arcrad)
else, result = nwadrs(srminus, arcrad)
*arcrad
]
and change this:
Code:
if plane = zero, *i, *j, k
to this:
Code:
if plane = zero, i, j, k