Releases: ChestnutLabs/gcode-preview
Release list
v0.2.0 — E9: annotations & renderer options
Second release of the Chestnut Labs G-code Preview stack — the E9 feature set (DD-009), published lockstep across all @chestnutlabs/* packages with npm provenance.
Highlights
- Retraction/deretraction markers (#148) — opt-in
showRetractionsmarkers from a new additiveretractionsIR channel. - Orthographic camera (#150) —
cameraMode: 'perspective' | 'orthographic'on the renderer, all adapters, andrenderStill. - M600 filament-swap color-change (#147) — a parser-detected
colorChangeschannel + acolorChangecolor mode that shades by active filament across manual swaps. - Bounded declarative theming API (#153) — a three-free
themeobject (background, grid/bed colors, light intensities, material preset) + livesetTheme. <gcode-preview>Custom Element (#149) — a new framework-free Web Component adapter,@chestnutlabs/gcode-preview-element(no framework peer), passing the shared behavioral suite.- Multi-gcode: documented mount-multiple workaround (#151).
Packages (all → 0.2.0)
toolpath-core, gcode-parser, gcode-dialects, gcode-containers, gcode-renderer-three, gcode-preview-core, gcode-preview-vue, gcode-preview-react, gcode-preview-svelte, gcode-preview-element (new).
Additive and backward-compatible with 0.1.0. See each package's CHANGELOG for details.
v0.1.0 — first stable line
First stable line of the Chestnut Labs G-code Preview stack — nine @chestnutlabs/* packages published together (lockstep 0.1.0).
Highlights
- Off-thread parsing of
.gcodeand.gcode.3mfinto a versionedToolpathIR(streaming, resource limits, adversarial-corpus hardened; container extraction coverage-guided-fuzzed). - Cross-vendor dialects — PrusaSlicer, OrcaSlicer/Bambu, Cura, Klipper, Marlin, RepRap-flavor — with honest capability tagging.
- Three.js renderer — layer clip, segment scrub, tubes/lines with auto-fallback, per-file build plates, honest live-progress overlay, WebGL context-loss recovery.
- Framework-neutral controller + first-class Vue, React, and Svelte adapters at capability parity (shared behavioral suite).
- Headless
renderStillfor server-side/offscreen thumbnails (AnyBridge #791).
Packages
toolpath-core · gcode-parser · gcode-dialects · gcode-containers · gcode-renderer-three · gcode-preview-core · gcode-preview-vue · gcode-preview-react · gcode-preview-svelte
Known limitations
Inherited interpreter gaps in some position-affecting G-codes (notably M82 absolute extrusion) — see docs/compatibility/gcode-motion-coverage.md; fixes tracked in #155–#158.
Fork of xyz-tools/gcode-preview (MIT); attribution in NOTICE.md.