Laser cutting of pipes and profiles