Convert g-code to curves - no output

Using rhino 7

trying to write a script to convert gcode to a curve

I get no erro, but no output .. what am I doing wrong? Please help!

gh file?

doh … see attached,

gocode to curves.gh (5.4 KB)

gocode to curves[fixed].gh (7.1 KB)

hint: stop using gpt :joy:

1 Like

its worked for me in the past :slightly_smiling_face:

When I open you file I get this
image

getting into a taxi doesn’t make you a driver :wink:

it should work if you ignore the the error - i’m working in r8, you must have r7
just in case, this is saved in r7.36
gocode to curves[fixed][r7].gh (6.9 KB)

1 Like

gocode to curves[fixed].gh (6.3 KB)

hi i tried using ur script and uploaded x y z axis value from gcode but it doesn’t work