This paper presents a method for automating the generation, verification and deployment of robot programs used in prefabrication of walls for family houses. The making of robot programs is today performed manually by experts, i.e. implying high costs. This is a huge disadvantage since each wall can be unique. The work demonstrates, with implementation and testing, a method to automate the generation of robot programs for fabrication of walls made of wood. This includes the task of generating collision free paths, automatic verification of path performance and deploying to a real industrial robot with minimal human interaction. © 2018 The Authors. Published by Elsevier B.V.