Wrong layers number when import some gcode
I'm having problems importing some gcode generated with SuperSlicer.
Even if it actually prints all of them, the generated preview is wrong, as is the number of layers.
The preview is instead correct in Simplify3D as well as in other slicers.
The preview is instead correct in Simplify3D as well as in other slicers.
Here the link of the gcode: https://drive.google.com/file/d/1zH5lTPOVqzGhXHzcyUSbRureJEBS4QeQ/view?usp=sharing
Comments
Short term solution is to go to server printer configuration in tools and set retraction distances for G10 to 0 for short and long distance. Then renderings get at least correct including timing calculations.
Do you know why SuperSlicer uses G10 instead of M104 to set temperatures?
The official docs do not even mention this behaviour:
https://duet3d.dozuki.com/Wiki/Gcode#Section_G10_Retract
only in reprap wiki I found this:
https://reprap.org/wiki/G-code#G10:_Retract
And the official docs also know M104 to set temperature. So not sure why this hidden feature is used. For update i will try to make a detection for it and maybe even add better support for SuperSlicer. I like that it writes width and height so I can optimize rendings.