Reply To: Image2Gcode – Free Raster Image Laser Engraving Software – Modified for MPCNC

New Home Forum Software Development Image2Gcode – Free Raster Image Laser Engraving Software – Modified for MPCNC Reply To: Image2Gcode – Free Raster Image Laser Engraving Software – Modified for MPCNC

#7938
Profile photo of Leo69
Leo69
Participant

So you got this Bryan? As far as the extra CR/LF goes you can get rid of it. Didn’t realize there were so many of them:) However, the G moves and the Laser On/off/power codes do have to be on different lines. This is for Marlin compatibility, GRBL will tolerate the lack of whitespace but Marlin won’t. If the file size is a problem then maybe a toggle button to include/exclude the extra CR? I think the extra bloat is coming from the 4-place decimal values. Removing a line feed will only shrink the file size by 1 byte per line right? The optimized moves would be awesome but would definitely take some thought, even the commercial software doesn’t do this as far as I know.

@noname007: You remind me of an old friend of the forum named Andrew;) Welcome!