Hi.
I’m trying to use a PCB Leveling software (open source - http://phk.freebsd.dk/CncPcb/) and it (seems) to require GCode positive coordinates.
To not reinvent the wheel, anyone has a script or routine that “moves” the X and Y coordinates to the positive plane?
Thanks!
btw… it’s been a fork of this project and seems promising: http://www.autoleveller.co.uk/
I’m not able to use it because I running on Grbl which doesn’t support variables in GCode files (as far as I know!).
http://phk.freebsd.dk/CncPcb
There’s a page of G-code utilities on the wiki: Shapeoko CNC Router, Rigid, Accurate, Reliable, and Affordable — AIUI, a couple of them shift things.
Thanks!!!.. “grecode” looks good!
What’s the problem?
Just move to the top of the PCB and declare that Z position to be Zero.
@Marcus_Wolschon The code in http://phk.freebsd.dk seems to work only when the X & Y coordinates are positive. I think it is a bug, but if shifting make it work, I must do it before actually run the CNC.
The code is intended to be used with a CNC SW that can handle variables, but Grbl can’t so I must split the whole process in 2 parts: first detect the differential levels and the milling it with the resulting Zs from part 1.
Thanks!
@Gustavo_Spadari you might try http://www.scorchworks.com/Gcoderipper/gcoderipper.html it let’s you move the origin of of your gcode.