Repository navigation
Description
Environment
- Creality Print 7.3.0.6151, Windows 11
- Creality K2 Plus (0.4 nozzle) with one CFS, LAN connection
- Printer firmware: 1.1.7.0 (latest installed)
Summary
Standalone user filament presets (no inherits, own filament_vendor, own filament_id) are second-class citizens in two places:
- The filament drop-down groups system presets under vendor headers ("Creality", "eSUN", "Generic", ...), but lists all user presets flat. With several third-party brands the user section becomes a long unsorted list and the vendor has to be repeated in every preset name.
- "Sync from printer" maps a CFS slot to a preset only by the slot's name, although the printer also sends the filament ID of the slot. A user preset is only found if the name shown on the printer is exactly the preset's name before
@.
1. Group user presets by vendor
PlaterPresetComboBox already has everything needed:
filament_brand_of()(src/slic3r/GUI/PresetComboBoxes.cpp:1058) readsfilament_vendorand its comment explicitly mentions user presets ("User presets often do not carry the option themselves, so walk up inherits").- But the user section is appended with grouping disabled (
PresetComboBoxes.cpp:1293):together with the comment at line 1228 "Only system filaments are grouped by brand".append_section(nonsys_presets, nonsys_preset_names, selected_user_preset, nullptr, false);
Request: pass true for user presets (or make it an option), so that user presets are shown as e.g. "User presets → SUNLU → PLA Plus" just like system presets. Ideally the display name could then drop a leading vendor, as system presets do ("CR PLA" under "Creality").
2. Map CFS slots by filament ID
The printer's boxsInfo already contains the filament ID of each slot in rfid, e.g.:
{"id": 0, "vendor": "eSUN", "type": "PLA", "name": "eSUN PLA+", "rfid": "E1001", ...}Creality Print stores it in DM::Material::rfid (src/slic3r/GUI/print_manage/data/DataType.cpp:172), but FilamentPanel::apply_auto_mapping_filament (src/slic3r/GUI/FilamentPanel.cpp:3566) only passes name to FilamentItem::set_filament_selection, which matches it against the combo text or the preset alias (FilamentPanel.cpp:1907). For standalone user presets the alias is the name before @ (src/libslic3r/Preset.cpp:3846, set_custom_preset_alias), and it is silently dropped if another preset already uses that alias (Preset.cpp:3858).
Consequences:
- If the printer shows a shorter name than the preset (e.g. vendor "SUNLU", name "PLA Plus" for the preset "SUNLU PLA Plus @creality K2 Plus 0.4 nozzle"), sync does nothing and the previous selection stays. There is no message.
- Two presets with the same alias cannot be told apart, although their
filament_iddiffers.
Request: first look for a compatible preset whose filament_id equals the slot's rfid, and only fall back to the name. If nothing matches, show a hint instead of silently keeping the old selection.
Steps to reproduce (part 2)
- Create a standalone user filament preset "SUNLU PLA Plus @creality K2 Plus 0.4 nozzle" (vendor SUNLU, type PLA, filament_id e.g.
Pd41d51e). - Make the same filament selectable on the printer with brand "SUNLU", name "PLA Plus", id
Pd41d51e, and assign it to CFS slot 1B. - In Creality Print set filament 2 to "Generic PLA" and click "Sync from printer".
Expected: filament 2 becomes "SUNLU PLA Plus".
Actual: filament 2 stays "Generic PLA"; with name "SUNLU PLA Plus" on the printer it works.
Line numbers refer to tag v7.3.0.
Activity