After some digging, it looks like unretract operations are added into the layer_data object as lines when opening gcode. The line has type '1' (Inset0Type) and is therefore recognized as the layer start. However, the line-width is set to 0.1, leading to the small start box.
So the first G1 command below is the source of this.
;LAYER:49
;TYPE:WALL-OUTER
;MESH:20mm-box.stl
G1 F1500 E1187.63346
G1 F2400 X119.8 Y100.2 E1188.28536
G1 X119.8 Y119.8 E1188.93726
G1 X100.2 Y119.8 E1189.58916
G1 X100.2 Y100.2 E1190.24106
G0 F7200 X100.6 Y100.6
;TYPE:WALL-INNER
...
Not sure how to handle that, if at all. Maybe its something unintended in the gcode parser ? Image is for context.
Edited by BasF0
Recommended Posts
BasF0 1
Opening cura generated gcode now also shows the skin starts
https://github.com/BasF0/Cura/commit/fa8b56d6adbaa06ef1f062563f7aa3faddf95919
note 2 issues: (I'm on cura 4.7.0)
1. When opening gcode it seems that the layer-widths of the bottom layer are incorrect ? Well, the print lines are drawn correctly, but the starts rectangles are really small, so perhaps its me.
2. The height of the top layer is drawn wrong, see attached photo.
However, the lack of tools in a gcode preview prevent me from opening a python console and doing further debugging, therefore I am also hesitant to open an issue on Cura's github.
Link to post
Share on other sites