Export 3D geometry to 8bit bitmap for laser cutting

Leigh wants a heightmap produced from the scan (mesh) for laser engraving.
Here’s an earlier thread: