three-slicer 0.4.1 → 0.4.2
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 +35 -0
- package/data/README.md +1 -1
- package/data/config-schema-lean.json +1 -1
- package/data/config-schema.json +51 -51
- package/data/ui-tree-keys.json +1 -1
- package/data/ui-tree.json +215 -81
- package/engine/PARAMS.md +6 -3
- package/engine/src/slicer.worker.js +7 -0
- package/engine/src/slicer_core.js +0 -0
- package/engine/src/slicer_core.mt.js +1 -1
- package/engine/src/slicer_core.mt.wasm +0 -0
- package/package.json +2 -2
- package/types/settings-keys.d.ts +40 -40
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,40 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.2 — 2026-11-03
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Object tools in the ribbon: Arrange, Orient, Measure, Boolean, Cut, Negative part, Text, Seam painting and Variable
|
|
8
|
+
layers. Boolean, Cut, negative parts and engraving run on the kernel's CGAL (`mesh_boolean`); a non-solid input is
|
|
9
|
+
refused with a typed `MESH_BOOLEAN_…` code. Arrange and Orient are this package's own algorithms.
|
|
10
|
+
- Seam paint reaches the kernel as `seam_enforcers` / `seam_blockers`, on classic, Arachne and multi-material walls, and
|
|
11
|
+
round-trips through a 3mf as `paint_seam`.
|
|
12
|
+
- Variable layer height (`variable_layer_heights`, Z bands). It is refused with support, raft, spiral mode and several
|
|
13
|
+
filaments (`UNSUPPORTED_VARIABLE_LAYERS`), and a band under 0.01 mm is `INVALID_VARIABLE_LAYERS`.
|
|
14
|
+
- `textFonts` prop: fonts the Text tool offers beside its built-in Latin one. The demo binds Noto Sans CJK for Korean,
|
|
15
|
+
Japanese, Simplified and Traditional; a `.ttf` or `.otf` upload lasts for the session.
|
|
16
|
+
- Fine adjust: holding Alt (Option) opens typed position, angle and size for the gizmo's mode, with fine drag snap; a
|
|
17
|
+
Hold button keeps it on.
|
|
18
|
+
- Measure snaps to corners and edges while Ctrl (Cmd) is held, and previews the second point under the pointer.
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
|
|
22
|
+
- The window is a title row with the menu bar, a labelled ribbon, the canvas and a task pane; sidebar sections are
|
|
23
|
+
collapsible boxes, and the plate tabs sit over a split slice button that fills with each plate's progress.
|
|
24
|
+
- The gizmo stands outside the selection and is sized by it. A rotate ring turns by the angle the pointer sweeps around
|
|
25
|
+
it (a 30 degree sweep measured 56 to 146 degrees before).
|
|
26
|
+
- In move mode a left drag on a model or inside its box moves it on the bed; the right button and empty space orbit.
|
|
27
|
+
The right-click menu opens on release, on an object only.
|
|
28
|
+
- The arrow keys follow the gizmo's mode: 10 mm, 15 degrees, 5% (Shift 1 mm, 5 degrees, 1%), and move every selected
|
|
29
|
+
object.
|
|
30
|
+
|
|
31
|
+
### Fixed
|
|
32
|
+
|
|
33
|
+
- Text placed low on a wall went under the bed, and the kernel's seat lifted the whole plate by that much (a 20 mm cube
|
|
34
|
+
sliced as 138 layers).
|
|
35
|
+
- An undo after moving a multi-selection restored pivot-relative positions and moved nothing.
|
|
36
|
+
- A copy, a duplicate and a split keep the object's filament.
|
|
37
|
+
|
|
3
38
|
## 0.4.1 — 2026-10-28
|
|
4
39
|
|
|
5
40
|
### Added
|
package/data/README.md
CHANGED
|
@@ -6,7 +6,7 @@ OrcaSlicer configuration metadata extracted from the original C++ sources, shipp
|
|
|
6
6
|
|---|---|
|
|
7
7
|
| `config-schema.json` | 976 print options: type, label, category, tooltip, min/max, mode, enum values/labels, defaults, source line numbers |
|
|
8
8
|
| `config-schema-builddump.json` | Build-verified cross-check: the real `print_config_def` (817 options) dumped from a WASM compile of the original `PrintConfig.cpp` — repo-only, excluded from the npm tarball |
|
|
9
|
-
| `ui-tree.json` | Tab → page → group → option tree from `Tab.cpp` (34 pages,
|
|
9
|
+
| `ui-tree.json` | Tab → page → group → option tree from `Tab.cpp` (34 pages, 674 option references — the SLA tabs included) |
|
|
10
10
|
| `toggle-rules.json` | 231 enable/disable rules with original C++ `enable_if` condition source |
|
|
11
11
|
| `invalidation-map.json` | Option-change → re-slice step mapping (Print/PrintObject invalidation branches) |
|
|
12
12
|
| `preset-keys.json` | The option keys belonging to each preset type (`machine`/`process`/`filament`) — what `presetOptionKeys(type)` reads |
|