Error writing Gcode from Mac (ZNaN)

Discussions around the CAM Add-On of QCAD.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Indicate the post processor used.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
Manon88
Registered Member
Posts: 2
Joined: Wed Oct 28, 2015 10:03 am

Error writing Gcode from Mac (ZNaN)

Post by Manon88 » Wed Oct 28, 2015 10:09 am

Hello everybody,

I'm using Qcad on a windows and a mac computer.
The windows version works well en de gcodes are good. When i'm doing the same on my mac, he puts an other code in my .nc
In the gcode he writes ZNaN? Instead of the depth. Tried everything but its not working.

Please help! Thanks!

Gr, Manon

User avatar
srl
Full Member
Posts: 65
Joined: Tue Aug 09, 2011 4:40 am

Re: Error writing Gcode from Mac (ZNaN)

Post by srl » Fri Oct 30, 2015 1:59 am

Hi
"NaN" is returned when when converting a string to a number and no numerals are detected. So check that only numbers are used in the required parts of the CAM dialog.
Gcode.js has very little error checking just like my config below.

https://www.youtube.com/watch?v=Qh3mElZ2y9s

srl

Post Reply

Return to “QCAD/CAM”