Add setting to toggle filament start index with one(default) or zero(new) #1024

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

Originally created by @JonasBouchard on 1/20/2026

Description

Closes #7100

This adds the option to have a 0-based filament indexing instead of the default 1-based filament indexing. Some printers (Including most klipper printers such as ercf, toolchangers, etc) have a 0-based filament indexing and it can be pretty confusing when filaments dont have the same nomenclature in slicer and in printers GUI or WebUI.

Shortcuts to change filaments with numbers on the keyboard have also been adapted to work with the 0-based filament indexing so that, when 0 gets clicked on the keyboard while an object is selected, the selected object changes to filament 0.

Screenshots/Recordings/Graphs

Screenshot 2026-01-17 033604 Screenshot 2026-01-17 033454 Screenshot 2026-01-17 033510 Screenshot 2026-01-17 033548

Tests

Here are the tests I did and that seemed to work:

  • Activating and deactivating the option (of course)
  • Making sure all of the UI shown in the Screenshots/Recordings/Graphs section is updated in real time after toggling the option
  • Saving printer settings and 3mf files with the option toggled on and off
  • Increasing number of extruders of the printer with the option toggled on and off
  • Changing filament of a selected object with keyboard numbers (all numbers from 0 to 9 have been tested with the option toggled on and off)
*Originally created by @JonasBouchard on 1/20/2026* # Description <!-- > Please provide a summary of the changes made in this PR. Include details such as: > * What issue does this PR address or fix? > * What new features or enhancements does this PR introduce? > * Are there any breaking changes or dependencies that need to be considered? --> Closes #7100 This adds the option to have a 0-based filament indexing instead of the default 1-based filament indexing. Some printers (Including most klipper printers such as ercf, toolchangers, etc) have a 0-based filament indexing and it can be pretty confusing when filaments dont have the same nomenclature in slicer and in printers GUI or WebUI. Shortcuts to change filaments with numbers on the keyboard have also been adapted to work with the 0-based filament indexing so that, when 0 gets clicked on the keyboard while an object is selected, the selected object changes to filament 0. # Screenshots/Recordings/Graphs <!-- > Please attach relevant screenshots to showcase the UI changes. > Please attach images that can help explain the changes. --> <img width="730" height="582" alt="Screenshot 2026-01-17 033604" src="https://github.com/user-attachments/assets/5cb68076-2591-4c9a-a83c-1cb8786e4b35" /> <img width="509" height="314" alt="Screenshot 2026-01-17 033454" src="https://github.com/user-attachments/assets/189488b9-6b14-4a38-a643-9174e1602fb2" /> <img width="304" height="453" alt="Screenshot 2026-01-17 033510" src="https://github.com/user-attachments/assets/fbbbb724-0e59-403a-8512-217646a0924a" /> <img width="520" height="791" alt="Screenshot 2026-01-17 033548" src="https://github.com/user-attachments/assets/3dc955c7-4f81-4ad8-a0c9-fbe541edab01" /> ## Tests <!-- > Please describe the tests that you have conducted to verify the changes made in this PR. --> Here are the tests I did and that seemed to work: - Activating and deactivating the option (of course) - Making sure all of the UI shown in the Screenshots/Recordings/Graphs section is updated in real time after toggling the option - Saving printer settings and 3mf files with the option toggled on and off - Increasing number of extruders of the printer with the option toggled on and off - Changing filament of a selected object with keyboard numbers (all numbers from 0 to 9 have been tested with the option toggled on and off)
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/OrcaSlicer#1024