fluidd-core / fluidd

Fluidd, the klipper UI.
https://docs.fluidd.xyz
GNU General Public License v3.0
1.42k stars 434 forks source link

Current Layer information and gcode preview not showing print information, when printing, unless I restart my browser or slicer (Orcaslicer) #1461

Closed pmbroth closed 3 months ago

pmbroth commented 4 months ago

Fluidd Version

Current version

Browser

Chrome, Firefox, Edge

Device

Desktop PC, Laptop

Operating System

Windows

What happened

One observation, layers and gcode preview do not show after sending job to printer, if I exit the slicer and reload and then look at device, everything is displayed (Even when I just send the job to the printer, and it is first starting up, I refresh the browser and all information is there) . It is like the printer is not refreshing information to browser or slicer. The same thing occurs, if I have a browser open to the device,

I waited for the printer to initialize and print, I waited for about 6 layers, and no updated information, unless I refresh my browser or reload slicer.

One new observation, If printing job from job list, layers and Goode preview are ok from start.

What did you expect to happen

Layers and Gcode preview to show starting information and continue with progress.

How to reproduce

See my "What Happened"

Additional information

Latest Debian, Latest Klipper, and most current Fluid. Using this image for my Qidi X-max 3

https://github.com/CChen616/QIDI_Max3_Bookworm

pedrolamas commented 4 months ago

HI @pmbroth , thank you for opening this ticket.

We will however require that you indicate the specific version of Fluidd you are using (shown on the bottom right of Fluidd).

I also ask that you upload a sample gcode file so that we can use that to try and reproduce this issue.

pmbroth commented 3 months ago

here you go
image

pmbroth commented 3 months ago

If i print from a slicer - qidislicer, orcaslicer, it happens with both. I close the browser or the application, and reconnect, and the layer information is there.

pmbroth commented 3 months ago

I will get a gcode file shortly.

pmbroth commented 3 months ago

boxtestgcode.zip

gcode from orcaslicer

image

pedrolamas commented 3 months ago

You are currently missing the SET_PRINT_STATS_INFO entries on your gcode, and that will cause incorrect layer counts displayed in Fluidd (and the same issue on other frontends too).

Please check here on how to add that to your Orca settings.

Once you add that, reslice the file and it will include SET_PRINT_STATS_INFO entries that will fix the layer count issue.