feat(cam): headless CPU rendering-platform mockup (CAM/viz) #46

Closed
patman wants to merge 1 commit from patman/cam-viz into patman/uom-typed-integrator AGit
Owner

CAM rendering platform shell as a dependency-free, headless CPU renderer. Rasterizes a representative CAM viewer frame (iso machine bed, serpentine pocket toolpath with in-progress cut cursor, X/Y/Z axes, parameters panel, status chrome) and encodes a PNG with a pure-std encoder. No GPU/window/third-party deps. Mockup geometry only, NOT the CAM path core. Toolpath stays in typed LengthVec3 to the projection seam. Adversarially reviewed (REWORK addressed). ~840 lines (font is bitmap data) - splittable on request. Stacks on #43.

CAM rendering platform shell as a dependency-free, headless CPU renderer. Rasterizes a representative CAM viewer frame (iso machine bed, serpentine pocket toolpath with in-progress cut cursor, X/Y/Z axes, parameters panel, status chrome) and encodes a PNG with a pure-std encoder. No GPU/window/third-party deps. Mockup geometry only, NOT the CAM path core. Toolpath stays in typed LengthVec3 to the projection seam. Adversarially reviewed (REWORK addressed). ~840 lines (font is bitmap data) - splittable on request. Stacks on #43.
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>
patman closed this pull request 2026-07-09 23:30:51 +00:00

Pull request closed

Sign in to join this conversation.
No description provided.