OrcaSlicer icon indicating copy to clipboard operation
OrcaSlicer copied to clipboard

Fix 30+ open issues: filament profiles, UI, slicing, build, and device tab

Open kbaker827 opened this issue 8 months ago • 6 comments

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_origin and m_isBBLPrinter to prevent undefined behavior in non-GUI builds
  • #227 – Guard the C23-incompatible bool typedef in vendored paho-mqtt-c MQTTPacket.h

Login / Persistence

  • #226 – Persist sm_user_name and sm_user_icon_url to AppConfig after login so the user stays logged in across restarts (AppImage / Linux)
  • #100 – Set WEBVIEW2_USER_DATA_FOLDER env 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 PP and Generic PPA-CF filament 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_hotend print config option (Ooze Prevention section) to cut power to idle hotends during multi-material prints; emits M104 S0 for the idle extruder pre-toolchange
  • #173 – Add wipe_tower_build_mode config 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 in WipeTower2

3MF Loading

  • #111 – Prompt the user to switch printer profiles when loading a .3mf that was saved for a different printer

Device Tab (UI)

  • #228 – Fix m_project_task_panel sizer 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 pushall command 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 RecenterDialog non-blocking by switching from ShowModal to ShowWindowModal + 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_hotend appears in Print Settings → Ooze Prevention; enabling it emits M104 S0 for idle extruder (#143)
  • [ ] wipe_tower_build_mode appears in Print Settings → Prime Tower; side-by-side mode generates separate per-tool columns in the tower (#173)
  • [ ] Loading a .3mf for 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

kbaker827 avatar Mar 10 '26 13:03 kbaker827

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.

adliner avatar Mar 18 '26 12:03 adliner

Here you go - https://github.com/kbaker827/OrcaSlicer/actions/runs/23294458503

kbaker827 avatar Mar 19 '26 14:03 kbaker827

Here you go - https://github.com/kbaker827/OrcaSlicer/actions/runs/23294458503

Awesome, can't wait to give it a try. Thanks!

adliner avatar Mar 19 '26 15:03 adliner

Let me know how it goes I want to know if there are still issues!

kbaker827 avatar Mar 19 '26 15:03 kbaker827

Any chance of generating Linux Ubuntu AppImage? I would test credentials persistence.

bula87 avatar Mar 31 '26 15:03 bula87

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."

The-Monkey-King avatar Jun 02 '26 12:06 The-Monkey-King