feat(cam): headless CPU rendering-platform mockup (CAM/viz) #67
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "patman/cam-viz"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
New cam-viz crate — the CAM rendering platform shell as a dependency-free,
headless CPU renderer. Rasterizes a representative CAM viewer frame (isometric
machine bed, serpentine pocket toolpath with in-progress cut cursor, X/Y/Z axes,
parameters panel, status chrome) and encodes it with a pure-std PNG encoder. No
GPU, no window, no third-party deps. Mockup geometry only — NOT the CAM path
core. Toolpath positions stay in typed LengthVec3 until the projection seam.
Adversarially reviewed (REWORK -> addressed): usize size math in the PNG encoder,
NaN-safe polygon sort, dead API removed, pixels() accessor over a pub field,
backend-seam doc claim toned down.
Note: ~840 lines (font.rs is bitmap data); larger than the <200 stacked-diff
target — cohesive mockup, splittable into png / canvas+font / scene on request.
Stacks on #43.
Co-authored-by: patman-assist patrick-ai@kgroo.co