Simulating and Verifying a 2D/3D Laser Line Sensor Measurement Algorithm on CAD Models and Real Objects
Related Experiment Video
Updated: Jun 6, 2025

Precision Measurements and Parametric Models of Vertebral Endplates
Published on: September 17, 2019
Rok Belšak1, Janez Gotlih1, Timi Karner1
1Laboratory for Robotisation, Faculty of Mechanical Engineering, University of Maribor, 2000 Maribor, Slovenia.
Abstract:
The increasing adoption of 2D/3D laser line sensors in industrial and research applications necessitates accurate and efficient simulation tools for tasks such as surface inspection, dimensional verification, and quality control. This paper presents a novel algorithm developed in MATLAB for simulating the measurements of any 2D/3D laser line sensor on STL CAD models. The algorithm uses a modified fast-ray triangular intersection method, addressing challenges such as overlapping triangles in assembly models and incorporating sensor resolution to ensure realistic simulations. Quantitative analysis shows a significant reduction in computation time, enhancing the practical utility of the algorithm. The simulation results exhibit a mean deviation of 0.42 mm when compared to real-world measurements. Notably, the algorithm effectively handles complex geometric features, such as holes and grooves, and offers flexibility in generating point cloud data in both local and global coordinate systems. This work not only reduces the need for physical prototyping, thereby contributing to sustainability, but also supports AI training by generating accurate synthetic data. Future work should aim to further optimize the simulation speed and explore noise modeling to enhance the realism of simulated measurements.
Related Concept Videos
Design Example: Measuring Distance Between Two Points with Obstructions
Modeling and Similitude

