📚 Encyclopedia

3D Printing & CAD · updated 2026-10-13

3-axis CAM from STL (height maps, drop-cutter finishing, gouge checks)

cnccamstltoolpathsdrop-cutterheight-mapverification

How cncfileoptimizer.com turns an STL into gouge-free 3-axis toolpaths in the browser: Z-level roughing from a conservative height map, exact drop-cutter finishing, and an independent verifier. The safety rules were each proven necessary by a failing test or benchmark.

Height map (conservative by construction)

Roughing (Z-level)

Finishing (parallel) with an exact drop-cutter

Independent verification

Benchmark (mower wheel, 200 x 200 x 52.5 mm, 26,910 triangles, 0.2 mm grid)

Roughing 61k moves, 192 m cutting, 75 m rapid (was 566 m before link fixes); finishing 151k moves; about 324 min machine time; about 30 s to plan and verify in Node (verification is roughly half).

STL parsing gotchas

Handle both binary and ASCII STL, and binary files whose triangle count in the header lies. Orientation tools: pick the up axis, scale, zero the top, set the XY origin, rotate about Z.

See also

Linked from

Sources: cnc memory (architecture.md, MEMORY.md, pending.md), tldr post #1662