hudbrog / gCodeViewer

a visual web based gcode analyzer
Other
419 stars 148 forks source link

Is it a bug? #57

Open h2CSO opened 6 years ago

h2CSO commented 6 years ago

Hello friend! First of all, I would like to say thank you for the great work. It is really an excellent program. However, I am having trouble when I'm trying to view some code. Please, look at the attached file. This is a piece G-code. Open this code in the viewer and switch to "2D" option. All is okay when I'm looking at layers from 0 to 36. When I switch, at layer 37 I see an empty layer. If I comment on line "G1 Z15.0 F6000 ;Move the platform down 15mm" all will be okay again. If I replace this line with "G1 Z2.6 F6000" or "G1 Z4.6 F6000" the lacuna appears after layer 5 or 10 respectively. If say in common: the lacuna appears if Z-coordinate at line four (G1 Z4.6 F6000 ;Move the platform down 15mm) doesn't exactly equal to a layer height.

Probably bug.txt