libbgcode icon indicating copy to clipboard operation
libbgcode copied to clipboard

Conversion of G29 G leaves out a space

Open DoubleStrike opened this issue 2 years ago • 1 comments

I'm assuming the library is responsible as I have used the conversion function from the latest 2.7.0 PrusaSlicer to convert a bgcode file to a gcode file for the XL.

The absorbing heat step (G29 G) is converted without a space, to G29G which I believe is invalid for gcode formatting in general. I have attached the file I did the conversion on showing the before and after.

Even if the code can be handled by the printer, it really should be formatted properly.

G29G_issue.zip

DoubleStrike avatar Dec 11 '23 16:12 DoubleStrike

As a followup, could this be because the file src/LibBGCode/binarize/meatpack.cpp does not list G as a parameter for G29?

DoubleStrike avatar Dec 11 '23 16:12 DoubleStrike