Fix: Skip bed temperature "Other Layers" in by-object print sequence #1210

Open
opened 2026-04-05 17:01:26 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @tome9111991 on 1/1/2026

Problem Description:
When "Bed Temperature for Other Layers" is set to 0 (which should disable the feature), and "Print Sequence" is set to "by object", the bed temperature is incorrectly set to 0 (M140 S0) when printing the second object. This causes the bed to cool down during printing, which should not happen when the feature is disabled.

Root Cause:
In the code block that handles the transition from layer 1 to layer 2 (lines 4421-4429), the bed temperature for "Other Layers" was always set via m_writer.set_bed_temperature(), even when the temperature value was 0. A value of 0 should mean the feature is disabled and the temperature should not be changed (keeping the current first layer temperature).

Solution:
Added a check to only set the bed temperature if it's greater than 0, similar to how nozzle temperature is handled (line 4417). This ensures that when "Other Layers" bed temperature is set to 0, the temperature command is not emitted and the current bed temperature (from the first layer) is maintained.

Fixes:
https://github.com/OrcaSlicer/OrcaSlicer/issues/6309

*Originally created by @tome9111991 on 1/1/2026* **Problem Description:** When "Bed Temperature for Other Layers" is set to 0 (which should disable the feature), and "Print Sequence" is set to "by object", the bed temperature is incorrectly set to 0 (M140 S0) when printing the second object. This causes the bed to cool down during printing, which should not happen when the feature is disabled. **Root Cause:** In the code block that handles the transition from layer 1 to layer 2 (lines 4421-4429), the bed temperature for "Other Layers" was always set via m_writer.set_bed_temperature(), even when the temperature value was 0. A value of 0 should mean the feature is disabled and the temperature should not be changed (keeping the current first layer temperature). **Solution:** Added a check to only set the bed temperature if it's greater than 0, similar to how nozzle temperature is handled (line 4417). This ensures that when "Other Layers" bed temperature is set to 0, the temperature command is not emitted and the current bed temperature (from the first layer) is maintained. Fixes: https://github.com/OrcaSlicer/OrcaSlicer/issues/6309
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/OrcaSlicer#1210