prusa3d / PrusaSlicer

G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)
https://www.prusa3d.com/prusaslicer/
GNU Affero General Public License v3.0
7.63k stars 1.92k forks source link

User specified Color changes by height are corrupted when slicing for Mk4 printer #13008

Closed RonHuebner closed 1 day ago

RonHuebner commented 2 months ago

Description of the bug

The slicer breaks the user specified color changes by height when using the Mk4 printer options. This works correctly for the Mk3 printers that I have tested. Steps to reproduce

  1. Open slicer (Version 2.8.0+win64), load STL file, slice for Mk4 printer (all variations had this bug).

  2. Specify 7 color changes by height on a print. The image below shows user intended changes. These are rendered correctly. image

  3. Re-slice, color changes are now corrupted: missing changes and wrong colors. See image. image

Project file & How to reproduce

Slicer issue.zip

Checklist of files included above

Version of PrusaSlicer

Version 2.8.0+win64

Operating system

Microsoft Windows Pro version 10.0.22631 Build 22631

Printer model

Prusa Mark 4 and i3 Mk3S+

gpapathanasiou commented 2 months ago

The same with me. Tested with one color change. Only white color can be seen after slicing. In the printer next color change is not available, but the printer stops and the color change is carried out as it should. image

YuSanka commented 2 months ago

Thanks for your report. SPE-2410

YuSanka commented 2 months ago

@gpapathanasiou , could you please provide your 3mf file

gpapathanasiou commented 2 months ago

TINISTL gp.zip

taz43mca commented 2 months ago

The filament changes show in 2.8.0 Slicer and work while printing on my Mk2.5S. However, in previous slicer versions, my printer LED it showed both time remaining in printing XXXXR and time to next changes as XXXC. Items sliced using 2.8.0 only show time remaining in printing XXXR.

RonHuebner commented 2 weeks ago

By turning off the generation of binary gcode, I was able to see that a "missing" color change from the Slicer interface was actually put into the gcode. It looks like the software bug is in the code that renders the Slicer image and color change chart after the user slices the print and generates the gcode/bgcode.

lukasmatena commented 1 day ago

Fixed in 2.8.1-rc1. Closing.