Introduction: Fix for Image Not Showing in GRBLControl.
This is my first Instructable and is quite a simple fix for an annoying problem.
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Explanation.
When I first started using GRBLControl the image contained within the GCode file would not show up in the main window when opened. The code would appear in the bottom window but no image.
After looking around the net I found out why.
I'm using Inkscape with the J Tech Photonics Laser Tool extension to generate the GCode.
I needed to add the commands G0 Z0 to the top of the generated GCode file, re-save it and then import it in to GRBLControl. I had to do this every time I did a new job.
For example, original J Tech Photonics generated code for a simple square starts with:
G1 F800 etc.......
New edited code:
Having to do this every time is a pain, so I decided to fix it so it adds the command automatically.
Go in to the Inkscape Extensions folder which is
C/Program Files (x86)/Inkscape/Share/Extensions and look for the J Tech Photonics Laser GCode files.
The file you need is called laser.py
Right click it and open it with Notepad.
Scroll down until you find the text in image above.
Just after the command G90 add G0 Z0 and click on the file menu and click save.
Now when it generates the code it will automatically add G0 Z0 to the file, and the image will show up in the GRBLControl window.
I hope I've explained it easy enough to understand.