SoftFever / OrcaSlicer

G-code generator for 3D printers (Bambu, Prusa, Voron, VzBot, RatRig, Creality, etc.)
https://discord.gg/P4VE9UY9gJ
GNU Affero General Public License v3.0
7.22k stars 852 forks source link

[REGRESSION ? ] incorrect temperature displayed in viewer for multicolor prints #3739

Closed CooperGerman closed 6 months ago

CooperGerman commented 9 months ago

OrcaSlicer Version

1.9.0

OS version

EndeavourOS

Additional system information

H/W path         Device    Class          Description
=====================================================
                           system         Precision T1700 (05A6)
/0                         bus            073MMW
/0/0                       memory         64KiB BIOS
/0/3a                      processor      Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
/0/3a/3b                   memory         256KiB L1 cache
/0/3a/3c                   memory         1MiB L2 cache
/0/3a/3d                   memory         8MiB L3 cache
/0/3e                      memory         32GiB System Memory
/0/3e/0                    memory         8GiB DIMM DDR3 Synchronous 1600 MHz (0.6 ns)
/0/3e/1                    memory         8GiB DIMM DDR3 Synchronous 1600 MHz (0.6 ns)
/0/3e/2                    memory         8GiB DIMM DDR3 Synchronous 1600 MHz (0.6 ns)
/0/3e/3                    memory         8GiB DIMM DDR3 Synchronous 1600 MHz (0.6 ns)
/0/100                     bridge         4th Gen Core Processor DRAM Controller
/0/100/1                   bridge         Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller
/0/100/1/0       /dev/fb0  display        GM204GL [Quadro M4000]
/0/100/1/0.1     card3     multimedia     GM204 High Definition Audio Controller
/0/100/1/0.1/0   input11   input          HDA NVidia HDMI/DP,pcm=3
/0/100/1/0.1/1   input12   input          HDA NVidia HDMI/DP,pcm=7
/0/100/1/0.1/2   input13   input          HDA NVidia HDMI/DP,pcm=8
/0/100/1/0.1/3   input14   input          HDA NVidia HDMI/DP,pcm=9
/0/100/2         /dev/fb1  display        Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller
/0/100/3         card1     multimedia     Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller
/0/100/3/0       input15   input          HDA Intel HDMI HDMI/DP,pcm=3
/0/100/3/1       input16   input          HDA Intel HDMI HDMI/DP,pcm=7
/0/100/3/2       input17   input          HDA Intel HDMI HDMI/DP,pcm=8
/0/100/14                  bus            8 Series/C220 Series Chipset Family USB xHCI
/0/100/14/0      usb3      bus            xHCI Host Controller
/0/100/14/1      usb4      bus            xHCI Host Controller
/0/100/16                  communication  8 Series/C220 Series Chipset Family MEI Controller #1
/0/100/19        eno1      network        Ethernet Connection I217-LM
/0/100/1a                  bus            8 Series/C220 Series Chipset Family USB EHCI #2
/0/100/1a/1      usb1      bus            EHCI Host Controller
/0/100/1a/1/1              bus            Integrated Rate Matching Hub
/0/100/1b        card2     multimedia     8 Series/C220 Series Chipset High Definition Audio Controller
/0/100/1b/0      input18   input          HDA Intel PCH Front Mic
/0/100/1b/1      input19   input          HDA Intel PCH Rear Mic
/0/100/1b/2      input20   input          HDA Intel PCH Line Out
/0/100/1b/3      input21   input          HDA Intel PCH Front Headphone
/0/100/1c                  bridge         8 Series/C220 Series Chipset Family PCI Express Root Port #1
/0/100/1c.1                bridge         8 Series/C220 Series Chipset Family PCI Express Root Port #2
/0/100/1c.1/0              bridge         XIO2001 PCI Express-to-PCI Bridge
/0/100/1c.4                bridge         8 Series/C220 Series Chipset Family PCI Express Root Port #5
/0/100/1d                  bus            8 Series/C220 Series Chipset Family USB EHCI #1
/0/100/1d/1      usb2      bus            EHCI Host Controller
/0/100/1d/1/1              bus            Integrated Rate Matching Hub
/0/100/1d/1/1/3  card0     multimedia     USB PHY 2.0
/0/100/1d/1/1/4  input3    input          INSTANT USB GAMING MOUSE  Keyboard
/0/100/1d/1/1/6  input7    input          LIZHI Flash IC USB Keyboard System Control
/0/100/1f                  bridge         C226 Series Chipset Family Server Advanced SKU LPC Controller
/0/100/1f/0                system         System Board
/0/100/1f/1                system         Motherboard registers
/0/100/1f/2                system         AT Real-Time Clock
/0/100/1f/3                generic        PnP device INT3f0d
/0/100/1f/4                system         Motherboard registers
/0/100/1f/5                system         Motherboard registers
/0/100/1f/6                communication  16550A-compatible COM port
/0/100/1f/7                system         Motherboard registers
/0/100/1f.2                storage        SATA Controller [RAID mode]
/0/100/1f.3                bus            8 Series/C220 Series Chipset Family SMBus Controller
/1               input0    input          Power Button
/2               input1    input          Power Button
/3               input10   input          Video Bus
/4               input2    input          PC Speaker
/5               input6    input          Dell WMI hotkeys

Printer

Voron Trident 250

How to reproduce

  1. Slice a single extruder, multi material project.
  2. observe first or last layer temperature for first used filament

Actual results

With purge tower activated image Without purge tower activated image

Expected results

Both colors should have their correct temperatures displayed. (In my case 220°C)

Project file & Debug log uploads

first_last_layer_temp.zip

Thoughts

In prusa and superslicer this does not seems to be the case, my feeling is that orca parses the resulting gcode assuming some initial temperatures and defaults to bad values when TN commands are present.

It seems like only first and last layers are affected thus initial values might be to incriminate. When adding some M140 commands manually in the printer start g-code section I'm able to trigger correct temperature detection in my example like follows:

T8
M104 S220
T6 
M104 S220

--previous start g-code-- 

Notes

Sliced g-code prints without correct temperatures, this only seems to be a viewer issue.

Checklist of files to include

github-actions[bot] commented 6 months ago

Orca bot: this issue is stale because it has been open for 90 days with no activity.

github-actions[bot] commented 6 months ago

Orca bot: This issue was closed because it has been inactive for 7 days since being marked as stale.