5 Commits
Author SHA1 Message Date
Tautvydas Derzinskas 358dfc1a03 feat: system notifications updates, Thingport grab in System health check, node 24+ (#52)
* feat: update system notifications

* feat: add Thingport grab to system health check

* ci: upgrade to Node.js 24 and centralize version management
2026-10-17 10:44:13 +02:00
Tautvydas Derzinskas dae33246aa chore: deal with formatting by adding prettier + reformat 2026-09-28 22:50:39 +02:00
Tautvydas Derzinskas e111dc27d7 chore: update licence and perform comment clean up 2026-09-28 22:34:47 +02:00
Tautvydas Derzinskas 65236c5803 fix: correct multi-part 3MF previews and stop risky in-browser fallback
Bambu Studio keeps every part of a multi-part object in one 3D/Objects file
and references each part separately. The server renderer, its pre-render
triangle count and the browser parser took the whole file for every
reference, so a model with k parts was built k times over, each part also in
its siblings' colours, and was often refused as too complex. Components now
take only the object they name, and each part file is parsed once. The
preview format and failure markers move to v3, so affected previews are
rebuilt and wrongly refused models retried.

When the server had no preview yet, the viewer parsed the raw 3MF in the
browser, which for heavy models exhausted its memory. The preview endpoint's
404 now carries a code: the viewer waits while it's being generated, shows
"too complex" when the server couldn't make one, and parses in the browser
only when previews are disabled or the 3MF layout is one the server parser
doesn't read.
2026-09-27 21:11:57 +02:00
Tautvydas Derzinskas ba08d30e1e fix: move preview generation to own separate thread 2026-09-27 07:40:49 +02:00