I am working with a window restoration company to help them figure out if we can build a CNC router to streamline and automate the process of cleaning lead paint off of window sashes.

Traditionally this is done with a hand router as I understand it. It's not that slow, but it is very dusty and lead paint dust is awful. If we could make a machine that functioned using the following workflow we could enclose the machine and collect dust safely:

1: place the window sash on the router bed
2: optically scan the sash and generate point cloud or STL
3: software locates edges and generates vector paths along them, ideally closed parallelograms
4: software generates toolpaths and posts g-code for the machine
5: machine runs the toolpaths and dust collection collects the dust

I'll be working with a CNC software developer to figure out what is possible there, but we first need to figure out what the best method of scanning or sensing the window sash is to get a good resolution and be able to identify edges in the software.

I found a laser scanner called the LaserProbe4500 but it is discontinued and apparently took a long time.

Any ideas?