Fix 30+ open issues: filament profiles, UI, slicing, build, and device tab
Summary
This PR addresses 30+ open issues against the Snapmaker OrcaSlicer fork, spanning build compatibility, login persistence, preset loading, slicing correctness, UI improvements, and device tab functionality.
Build / Compilation
- #220 – Initialize
Print::m_originandm_isBBLPrinterto prevent undefined behavior in non-GUI builds - #227 – Guard the C23-incompatible
booltypedef in vendored paho-mqtt-cMQTTPacket.h
Login / Persistence
- #226 – Persist
sm_user_nameandsm_user_icon_urltoAppConfigafter login so the user stays logged in across restarts (AppImage / Linux) - #100 – Set
WEBVIEW2_USER_DATA_FOLDERenv var before WebView2 init so non-admin Windows users can open the login dialog without a crash
Preset / Profile Loading
- #214 – When a user preset's parent is missing (renamed/removed), fall back to defaults instead of silently discarding the preset on restart
- #217 – Add
Generic PPandGeneric PPA-CFfilament profiles for the Snapmaker U1 (0.4 mm nozzle)
Slicing
- #200 – Apply the primary filament's shrinkage compensation in multi-material prints instead of disabling compensation entirely when filaments differ
- #143 – Add
turn_off_idle_hotendprint config option (Ooze Prevention section) to cut power to idle hotends during multi-material prints; emitsM104 S0for the idle extruder pre-toolchange - #173 – Add
wipe_tower_build_modeconfig option (Layer by layer / Side by side) so each filament can purge in its own dedicated column within the prime tower; column width, X offset, and per-tool depth tracking are all handled inWipeTower2
3MF Loading
- #111 – Prompt the user to switch printer profiles when loading a
.3mfthat was saved for a different printer
Device Tab (UI)
- #228 – Fix
m_project_task_panelsizer proportion so the panel expands correctly on ultrawide (21:9) displays - #229 – Add a Network Settings button to the monitoring title bar for the U1
- #98 – Add a Sync Filaments button to the AMS group that sends a
pushallcommand to pull current filament state from the printer - #65 – Add a Load button alongside the existing Unload button in the extruder controls panel (sends
M701) - #66 – Make
RecenterDialognon-blocking by switching fromShowModaltoShowWindowModal+wxEVT_WINDOW_MODAL_DIALOG_CLOSED
Test plan
- [ ] Build succeeds on Linux and Windows (#220, #227)
- [ ] Login persists after restart on AppImage (#226) and non-admin Windows (#100)
- [ ] User presets with a missing parent still appear after restart (#214)
- [ ] PP and PPA-CF profiles appear in the filament dropdown for Snapmaker U1 (#217)
- [ ] Multi-material slice with mixed shrinkage filaments applies primary filament compensation (#200)
- [ ]
turn_off_idle_hotendappears in Print Settings → Ooze Prevention; enabling it emitsM104 S0for idle extruder (#143) - [ ]
wipe_tower_build_modeappears in Print Settings → Prime Tower; side-by-side mode generates separate per-tool columns in the tower (#173) - [ ] Loading a
.3mffor a different printer shows a switch prompt (#111) - [ ] Device tab expands correctly on ultrawide monitor (#228)
- [ ] Network Settings button appears and opens the IP dialog (#229)
- [ ] Sync Filaments button appears and sends pushall (#98)
- [ ] Load button appears next to Unload and sends M701 (#65)
- [ ] Re-center dialog does not block the UI (#66)
🤖 Generated with Claude Code
Hi @kbaker827, looks like you've done a great job here! This PR fixes some issues I encountered. Has it all been generated by Claude AI or just the PR summary? I'd like to test it, do you have any idea on how to trigger/request a manual build from your private branch? If that's even possible. So far I'm failing to compile the project locally.
Here you go - https://github.com/kbaker827/OrcaSlicer/actions/runs/23294458503
Here you go - https://github.com/kbaker827/OrcaSlicer/actions/runs/23294458503
Awesome, can't wait to give it a try. Thanks!
Let me know how it goes I want to know if there are still issues!
Any chance of generating Linux Ubuntu AppImage? I would test credentials persistence.
For future reference, please close out all PRs having to do with generic or non-brand specific models. It is in Snapmaker's best interest to deliver a slicing tool that operates specific model functions and removes non-brand, model functions for the sake of clarity.
Also, using non-brand specific models with this slicer may produce errors or issues that are not the responsibility for the Snapmaker team.
I would close these non-brand PRs as "out of scope."