I have been working on betters ways an techniques to align the spindle when going from file to file, specially for PCBs where accuracy is very important. It occurred to me what I needed is a debugger like tool to allow me to control and adjust ShapeOko while running the program (GCODE) and even modify the GCODE itself; the same way I do for embedded programs and firmware. This tool also provides a platform to play whit visual alignment and OpenCV.
With nothing that I could find, I decided to create such a tool. For the past Month and 3 weeks I have been working on it. I think is ready for general use. Hope it will help others with their CNC alignment.
Note: OpenCV is not required unless you want to play with computer vision.
Note2: you only need gcs.py the rest is just the images sources, but they are embedded within the python scrip. So you only need the one file “gcs.py” and of course dependencies like python and wx.Python.
Use case: The GCODE file is a drill program for a PCB, gcs will make it possible to set-up a break point right before the tool plunge. At this point with the jogging controls it is possible to lower the tool right before penetrating the surface to verify alignment is adequate. Once this is verify and or adjusted, the program can continue.