0.9.17 Error selecting filement in slots #39
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I installed .9.17 and as predicted i can select filaments
But it does not work correct yet:
i save it:
Slot just shows PLA below and if i click again it brings up a totally different material
I took a peek at orca_filaments.json
Theres many duplicate ids. In your example Both Anycubic PLA High Speed and Tiertime Generic PLA Silk use id: GFL96
I think both the JSON and a mapping in the code are causing the errors. The fix will be ready tonight or tomorrow at the latest.
Also, i do not see my own profiles from Orca, which would be great to have instead of 950 never used ones to scroll along..
orca can not send profile data to the bridge . i think we can make an import function ..
Update — fix is ready on the dev branch, lands in 0.9.18. Three things turned out to be wrong in 0.9.17:
multiColorBox/setInfowas sent over the wrong MQTT topic (slicer/printer/...). The printer silently ignored the command and the nextmultiColorBox/reportthen overwrote the cached material in the bridge — so on re-open the dialog showed whatever the printer reported, not what you just saved. Now sent overweb/printer/...like the Anycubic Slicer Next does (verified by live MQTT sniff + Workbench-Vue source).Save flow was racing. Profile-override POST and material POST fired in parallel; depending on which finished first the bridge state could be inconsistent. Now sequential + reloads the local profile map before closing the dialog.
OrcaSlicer filament IDs are not unique — @gangoke nailed it.
orca_filaments.jsonhas 68 duplicate IDs;OGFL99alone is shared by 136 different vendor profiles because Orca lets vendor profiles inherit a genericfilament_idfrom the base. The bridge now uses(vendor, name)as the primary selector, which is 100% unique across all 1002 profiles. The ID is still sent as a hint, but the actual match relies on the vendor+name pair.Also the slot card now shows the vendor under the material (e.g.
PLA/Polymaker) so you can see at a glance which override is active-Good point @harrygeier. Two ways forward:
Ill open a separate enhancement issue for that so it does not get tangled with the present bug fix.
If you want to test the dev build earlier let me know — otherwise it ships with 0.9.18.
Tracking the vendor-filter / own-profile-import as a separate enhancement: #41
Shipped in v0.9.18 — three fixes:
multiColorBox/setInfonow goes over the right MQTT topic (web/printer/...), so material/colour changes actually stick on the printer.(vendor, name)instead offilament_id(the IDs are not unique in OrcaSlicer —OGFL99alone is shared by 136 vendor profiles, thanks @gangoke).The slot card now also shows the vendor under the material so you see at a glance which override is active.
Note: setting a slot only works when the printer is idle, and empty slots cannot be labelled. The follow-up to show only your own vendors / import your local Orca profiles is tracked in #41.
Closing — please reopen if the round-trip still misbehaves in 0.9.18.