This is a 3D scanner. It uses a IR sensor to detect distance to the object. Then the turntable makes a spin. The X and Y coordinates can be easily calculate with simple trigonometry. See full tutorial...