The invention provides a multifunctional pipe machine. The multifunctional pipe machine comprises a control module, a cloud server, a display module, a speaker, a pipe winding module, a second mechanical arm, a first mechanical arm, a laser scanning device, a welding gun and a camera; and the control module is respectively connected with the cloud server, the display module, the speaker, the pipewinding module, the second mechanical arm and the first mechanical arm. The multifunctional pipe machine has the following beneficial effects: a production line is digitally rebuilt through a three-dimensional scanner; production line parameters are dynamically adjusted to achieve optimal production effects; the quality of welding spots is comprehensively judged through welding spot three-dimensional models and welding spot videos; and the welding gun is dynamically controlled for repair welding, so that the welding quality is improved, and the final product quality is improved.