Repository navigation
ClearNC v0.14.1 — Animated 2D/3D Tailstock Playback & Op 2 Flipped Carryover
Highlights
ClearNC v0.14.1 delivers major 2D/3D lathe and multi-setup milling simulation fidelity upgrades, closing Issue #21 and Issue #22 — thank you @cher-dinesh for the detailed shop-floor feedback and exact reproduction cases!
Step-by-Step Animated 2D & 3D Lathe Tailstock Playback (Closes #21 — thank you @cher-dinesh!)
- Frame-Accurate Tailstock Timeline Events: The lathe simulator now emits exact
tailstock_eventsand timeline segments (tailstock_engage/tailstock_retract) with resolved machine-specific OEM M-codes (M21/M22,M78/M79,M56/M55,M25/M26) orM00manual operator checkpoints, plus chuck grip & stick-out metadata. - Animated 2D Lathe Section & 3D Lathe Cutaway: Both the 2D Section and depth-buffered WebGL 3D Cutaway smoothly slide a realistic 60° live-center cone, bearing nose collar, graduated telescoping quill, and cast tailstock body in and out at the exact engage/retract frames — complete with spinning cues while engaged, chuck grip/stick-out callouts, and pulsing red collision highlighting.
- Playback HUD, Timeline Markers & Manual Auto-Pause Checklists: Live
TAILSTOCK:status pill (RETRACTED/APPROACHING/ENGAGED/MANUAL STOP (M00)/COLLISION), clickable engage/retract tick markers on the timeline scrubber, and automatic operator pause checklists for manual tailstocks (while programmable hydraulic/servo tailstocks play smoothly without interruption).
Op 1 -> Op 2 Flipped Feature Carryover in CAD Solid & Voxel: High (Closes #22 — thank you @cher-dinesh!)
- Op 2 CAD Solid Non-Circular Through Cuts (
inherited_through_pockets): Flipped Op 1 through-slots, rectangular cutouts, and polygon through-pockets now carry over cleanly into Op 2 CAD Solid — remaining capped beneath the unfaced carrier tab before facing, then punching all the way through top & bottom faces with crisp inward-facing walls once faced off. - Op 2 Voxel: High Carryover & Live Breakthrough Peeling (
breakthrough_z_b64): Upgraded Op 2 height grids and WebGL solid-height rendering so flipped Op 1 through-holes, through-slots, and trimmed outer-profile silhouettes open cleanly in real time as Op 2 faces away the carrier tab.
Verification
- Rust Test Suite: 261/261 tests passing across 29 test binaries (0 failures, 0 compiler warnings), including dedicated Issue #21 & #22 regression tests.
- Golden Controller Regression: 9/9 legacy controller hashes remain 100% byte-identical.
- WebAssembly Studio & CLI Gate: 55/55 verified machines, 15/15 built-in examples, 0 errors, 0 crashes, 0 gouges (
SHA256SUMS.txtattached).
Live Links
- ClearNC Studio (Live Web IDE): https://primeformlabs.github.io/clearnc/studio.html
- Release Changelog: https://primeformlabs.github.io/clearnc/changelog.html#v0.14.1
- Interactive 9-Lesson Tutorial: https://primeformlabs.github.io/clearnc/tutorial.html