The CNC machines are controlled by a computer. The computer calculates the angles and distances needed to create the final product.