Many gcode variables changed from scalar to vector #175

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

Originally created by @OsmosisD on 3/24/2026

Is there an existing issue for this problem?

  • I have searched the existing issues

OrcaSlicer Version

2.3.2

Operating System (OS)

Windows

OS Version

Windows 10

Additional system information

No response

Printer

Bambu Lab P1S

How to reproduce

Use any gcode containing nozzle_type or numerous other placeholders as a variable.

Actual results

Image

Expected results

It should compile normally, by default, since this is what's used with all previous Marlin(legacy) gcode in Orca Slicer.

Project file & Debug log uploads

N/A

Checklist of files to include

  • Log file
  • Project file

Anything else?

It seems like a ton of gcode variables were changed to vectors, so you have to use nozzle_type[0] instead of nozzle_type for material.

This breaks a ton of gcode.

A niche issue since most people won't write custom gcode to do stuff like this (and my specific case no longer works anyway because the slicer no longer lets you select Brass as a nozzle type now, only Stainless/Hardened Steels), but still a potential cause for bugs.

This might be what's causing issues with a ton of other issues too that might just be silently failing.

I'm guessing this is a toolchanger/multitool support thing, but it really should revert to [0] for most use cases.

*Originally created by @OsmosisD on 3/24/2026* ### Is there an existing issue for this problem? - [x] I have searched the existing issues ### OrcaSlicer Version 2.3.2 ### Operating System (OS) Windows ### OS Version Windows 10 ### Additional system information _No response_ ### Printer Bambu Lab P1S ### How to reproduce Use any gcode containing nozzle_type or numerous other placeholders as a variable. ### Actual results <img width="1323" height="376" alt="Image" src="https://github.com/user-attachments/assets/04ee2692-5889-46c8-9457-7e7e5b467325" /> ### Expected results It should compile normally, by default, since this is what's used with all previous Marlin(legacy) gcode in Orca Slicer. ### Project file & Debug log uploads N/A ### Checklist of files to include - [ ] Log file - [ ] Project file ### Anything else? It seems like a ton of gcode variables were changed to vectors, so you have to use nozzle_type[0] instead of nozzle_type for material. This breaks a _ton_ of gcode. A niche issue since most people won't write custom gcode to do stuff like this (and my specific case no longer works anyway because the slicer no longer lets you select Brass as a nozzle type now, only Stainless/Hardened Steels), but still a potential cause for bugs. This might be what's causing issues with a ton of other issues too that might just be silently failing. I'm guessing this is a toolchanger/multitool support thing, but it really should revert to [0] for most use cases.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/OrcaSlicer#175