QIDITECH / QIDI_PLUS3

GNU General Public License v3.0
17 stars 1 forks source link

Fluidd Gcode Viewer #18

Closed ADRS55 closed 5 months ago

ADRS55 commented 5 months ago

G code preview in fluidd does not show the entire print area, part of it is missing.

CChen616 commented 5 months ago

Are you referring to the thumbnail of the model? If so, could you please let us know which slicing software you're using and also send us a copy of the G-code?

ADRS55 commented 5 months ago

No, not thumbnails. I'm referring to the fluidd's gcode viewer, layer progress 2D visualizer. slicer fluidd

CChen616 commented 5 months ago

Due to Fluidd using the toolhead's minimum and maximum movement ranges to determine the display range for G-code previews, there may be discrepancies with the actual size of the heatbed and what is shown in the slicing software.

You can try to access

http://{your printer ip}:7125/printer/objects/query?toolhead

The respond should include these info

...
    "axis_maximum": [
        245.0,
        258.0,
        248.0,
        0.0
    ],
    "axis_minimum": [
        -5.5,
        -4.5,
        -6.0,
        0.0
    ],
...

They are determined by the stepper related configs in printer.cfg, please check if you modified them or not

ADRS55 commented 5 months ago

I didn't change anything in printer.cfg. Information returned from url:

    "axis_minimum": [
      -11,
      -24,
      -6,
      0
    ],
    "stalls": 0,
    "axis_maximum": [
      280,
      280,
      280,
      0
    ],

From my understanding, it should be correct. But I think it's a bug in fluidd, because today I found this: https://github.com/fluidd-core/fluidd/pull/731 It should be fixed in newer versions. Do you plan to update fluidd to a newer version in future releases? ​

CChen616 commented 5 months ago

Thank you for providing a solution!

Currently, it's challenging to update fluidd via update packages. However, you can manually update fluidd by referring to the instructions in the "fluidd" section at:

https://docs.fluidd.xyz/updates/manual

In our machines, fluidd is located at

/home/mks/fluidd/

Please do not update other components such as Klipper and Moonraker, as this will cause the printer to malfunction.

ADRS55 commented 5 months ago

I did a manual update as you recommended and the fluidd gcode preview is now working correctly! new_fluidd

Thank you for your support!

dleffler commented 3 months ago

As a note, if you manually update fluidd, you'll receive warnings on the fluidd interface and warning about unsupported firmware when you ssh in.