A design is presented for a hardware–software package based on a light-section device and intended for carrying out automated measurements of surface roughness. Package design solutions are presented and the metrological characteristics and features of the software are examined.