Allow external spool workflow with Filament Track Switch#11336
Allow external spool workflow with Filament Track Switch#11336PollyBot13 wants to merge 2 commits into
Conversation
BenJule
left a comment
There was a problem hiding this comment.
Read through the draft. The overall shape is reasonable: gating the external virtual slots (254/255) on nozzle compatibility in LEFT_AND_RIGHT_DYNAMIC mode, and surfacing why through the two tooltips, is a sensible way to let the FTS stay installed while still stopping a left-nozzle filament from mapping to the right external slot.
The main thing I would double check is the fallback in is_ext_slot_compatible_with_current_filament. When the nozzle group result is missing or the info list is empty it returns true (slot stays selectable). That is fail-open: if the nozzle data is unavailable for any reason, the compatibility guard effectively switches off and the wrong-nozzle mapping this PR is meant to block becomes possible again. It may be intentional (do not block when you cannot tell), but for a mapping-correctness feature it is worth confirming which failure mode you want, and whether those early return true paths can be hit in normal use rather than only in genuinely unknown states.
Since it is a draft, the structure and the i18n (new _L strings on the source side) look fine. I cannot verify the actual hardware behavior here: the FTS routing, the nozzle-to-external-slot mapping, or the assisted feed-direction flow. So this is a read of the Studio-side logic only, not a functional test on a printer with an FTS installed. Someone with the accessory should confirm the load/unload path end to end.
Summary
This draft addresses
bambulab/BambuStudio#10328by allowing the existing per-nozzle external spool virtual slots to be selected in Studio when a Filament Track Switch is installed.Current behavior blocks external spool selection in the FTS / dynamic mapping dialog and tells users to uninstall the Filament Track Switch. That forces users to physically unplug/remove the accessory for cases where the filament can be routed externally:
Implemented Scope
This is intentionally a small Studio-side change:
255/ main-right external spool254/ deputy-left external spoolLEFT_AND_RIGHT_DYNAMICmapping modeLoad/Unloadactions to reach the existing assisted feed-direction flow when the Filament Track Switch is installedExt-L/Ext-R, because those virtual external slots represent user-assisted external routing that may intentionally bypass the switchExt-L/Ext-Rby sending material settings for virtual slots and preserving the correct virtual tray id (254or255)Studio sends the same existing external virtual-slot mapping for both physical routing cases; the operator/printer must enforce the actual route.
Non-goals
This does not implement a full routing graph or claim that the Filament Track Switch can retract arbitrary external spools.
It also does not add a persisted
via bufferversusdirect bypassmode, because I have not found an existing printer/job protocol field for that distinction in Studio. The patch only re-enables the existing external virtual-slot mapping that Studio already serializes.Desired Product Behavior
The desired product behavior is:
If printer firmware currently rejects external virtual-slot mapping while FTS is installed, this Studio patch will need a matching firmware capability/update. In that case, the same UI change should be gated behind a firmware/capability flag instead of being rejected as a hardware impossibility.
Validation
git diff --checkCMAKE_BUILD_PARALLEL_LEVEL=8 ./BuildMac.sh -d -a arm64 -x -c Releaseninja -C build/arm64 -j8build/arm64/BambuStudio/BambuStudio.app20P9BJ620301973 (LAN)from an isolated test profileBambu_Cube.stlwith the X2D presetSendLoad/Unload; this patch removes that blanket block so both assisted operations can proceed through the existing feed-direction flow without requiring FTS readiness forExt-L/Ext-R254, and the response parser only refreshed the main/right virtual slot. This patch sends virtual-slot material settings explicitly and keepsExt-L/Ext-Rdistinct.src/slic3r/GUI/DeviceCore/DevDefs.hsrc/slic3r/GUI/DeviceCore/DevMapping.cppsrc/slic3r/GUI/SelectMachine.cppsrc/slic3r/GUI/AmsMappingPopupUpdate.cppsrc/slic3r/GUI/AmsMappingPopup.cppsrc/slic3r/GUI/StatusPanel.cppStill not validated:
254/255external virtual-slot mapping while FTS is installedAddresses #10328.