three-slicer 0.4.2 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.3 — 2026-11-07
4
+
5
+ Performance work measured in Firefox and Chromium, and the changes that let the browser extension be listed on
6
+ Firefox Add-ons (AMO).
7
+
8
+ ### Changed
9
+
10
+ - The single-threaded kernel ships its wasm as a file, `engine/src/slicer_core.wasm`, as the threaded one already did.
11
+ Inlined, the glue was a 7.2MB script, and AMO's validator refuses any JS file over 5MB; it is 85KB now. Vite and
12
+ webpack emit the wasm as an asset. A host that serves the package files itself has to serve this file as
13
+ `application/wasm` too, and from another origin with `Cross-Origin-Resource-Policy: cross-origin`. G-code is
14
+ byte-identical to the inlined build.
15
+ - A plate's toolpaths are skipped when the plate is off screen. Zoomed onto one of 28 sliced plates (Hylian Shield,
16
+ M5 Pro, DPR 2), GPU time per frame went from 16.0 to 1.4 ms in Chromium and from 17.8 to 2.1 ms in Firefox. The
17
+ whole-bed view is unchanged at about 14 ms.
18
+ - Hover, the paint brush and Measure pick through a per-mesh grid instead of testing every facet. Hover picks at most
19
+ once per frame and not while a button is held, so an orbit or a drag no longer raycasts the scene.
20
+ - Slice progress and the plate tabs' run state re-render once per frame, however many pool workers report.
21
+
22
+ ### Added
23
+
24
+ - `npm run pack:firefox` in `web/extension` builds the zip for an AMO upload.
25
+
3
26
  ## 0.4.2 — 2026-11-03
4
27
 
5
28
  ### Added
package/README.md CHANGED
@@ -705,7 +705,7 @@ Without those headers, the engine falls back to the single-threaded kernel.
705
705
  The multithreaded kernel's wasm is a file beside its glue, `engine/src/slicer_core.mt.wasm`, reached through
706
706
  `new URL('slicer_core.mt.wasm', import.meta.url)`; Vite and webpack emit it as an asset. Serve it as
707
707
  `application/wasm`, and from another origin (a CDN) with `Cross-Origin-Resource-Policy: cross-origin`, or the
708
- cross-origin isolated page cannot load it. The single-threaded kernel still inlines its wasm.
708
+ cross-origin isolated page cannot load it. The single-threaded kernel does the same with `engine/src/slicer_core.wasm`.
709
709
 
710
710
  ## Data Files
711
711
 
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "three-slicer",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "Browser/WASM 3D-printing slicer reverse-engineered from OrcaSlicer: slicing engine (Arachne walls, tree/grid supports, multi-material), SLA resin slicing with PrusaSlicer's ported support/pad chain and .sl1 export, React viewer with GPU toolpath preview, and schema-driven settings UI.",
5
5
  "license": "AGPL-3.0-or-later",
6
6
  "type": "module",
@@ -96,6 +96,6 @@
96
96
  "clipping"
97
97
  ],
98
98
  "dependencies": {
99
- "three-slicer-viewer": "0.4.2"
99
+ "three-slicer-viewer": "0.4.3"
100
100
  }
101
101
  }