GCode macro curr_bed_type doesn't match UI #418

Open
opened 2026-04-05 16:20:44 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @flaviut on 3/7/2026

Is there an existing issue for this problem?

  • I have searched the existing issues

OrcaSlicer Version

2.3.1

Operating System (OS)

Linux

OS Version

Arch Linux

Additional system information

No response

Printer

Qidi Q1

How to reproduce

Write the following machine start gcode:

{if curr_bed_type=="Smooth High Temp Plate"}
SET_GCODE_OFFSET Z=-1.9 MOVE=1
{endif}

Start a print with the Smooth High Temp Plate

Actual results

Observe that the offset is not output to the GCode.

Expected results

One of two things:

  1. OrcaSlicer shows an error when slicing that the bed type is being compared to an invalid type
  2. OrcaSlicer successfully outputs the offset line; i.e. "Smooth High Temp Plate" is made an alias for "High Temp Plate"

Project file & Debug log uploads

N/A

Checklist of files to include

  • Log file
  • Project file

Anything else?

No response

*Originally created by @flaviut on 3/7/2026* ### Is there an existing issue for this problem? - [x] I have searched the existing issues ### OrcaSlicer Version 2.3.1 ### Operating System (OS) Linux ### OS Version Arch Linux ### Additional system information _No response_ ### Printer Qidi Q1 ### How to reproduce Write the following machine start gcode: ``` {if curr_bed_type=="Smooth High Temp Plate"} SET_GCODE_OFFSET Z=-1.9 MOVE=1 {endif} ``` Start a print with the Smooth High Temp Plate ### Actual results Observe that the offset is not output to the GCode. ### Expected results One of two things: 1. OrcaSlicer shows an error when slicing that the bed type is being compared to an invalid type 2. OrcaSlicer successfully outputs the offset line; i.e. `"Smooth High Temp Plate"` is made an alias for `"High Temp Plate"` ### Project file & Debug log uploads N/A ### Checklist of files to include - [ ] Log file - [ ] Project file ### Anything else? _No response_
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/OrcaSlicer#418