prusa3d / libbgcode

Prusa Block & Binary G-code reader / writer / converter
GNU Affero General Public License v3.0
48 stars 15 forks source link

Conversion of G29 G leaves out a space #40

Open DoubleStrike opened 11 months ago

DoubleStrike commented 11 months ago

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 commented 11 months ago

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