3D scanner designed to work as an automatic means of log measurements for automatic sorting lines of round timber, sawing optimization systems and log recording systems. Scanner consists of a system of cameras and laser markers, placed at an angle to each other. On the log surface lasers creates a line visible on the frames of the video cameras and forming a complete outline of log cross-section.