This article proposes the use of parametric design software, commonly used by architects, in order to obtain complex trajectory and program code for industrial robots. The paper describes the drawbacks of existing solutions and proposes a new script to obtain a correct program. The result of the algorithm was verified experimentally.
 A. Aigner and S. Brell Cokcan: Surface Structures and Robot Milling. The Impact of Curvilinear Structured Architectural Scale Models on Architectural Design and Production. In: Innovative Design & Construction Technologies. Building complex shapes and beyond, I. Paoletti (Ed.), Milano, 2009, 433-445.
 S. Ambroszkiewicz Stanisław, A. Borkowski, K. Cetnarowicz and C. Zieliński: Intelligence around us; cooperation of software agents, robots, intelligent units. Academic Publishing House EXIT, Warsaw, 2010. Monographs of the Committee for Control and Robotics of the Polish Academy of Sciences, in Polish.
 J. Braumann and S. Brell-Cokcan: Parametric robot control: integrated CAD/CAM for architectural design. Proc. 31st Conference, Association for Computer-Aided Design in Architecture, Banff, (2011), 242-251.
 S. Brell-Cokcan and J. Braumann: Computer Numeric Controlled Manufacturing for Freeform Surfaces in Architecture. In: Emotion in Architecture, D. Kuhlmann, S. Brell-Cokcan, K. Schinegger (Ed.), issued by: Institut fur Architekturwissenschaften, TU Wien; Luftschacht, Wien, 2011.
 C. Eastman, P. Teicholz, R. Sacks and K. Liston: BIM Handbook: A Guide to Building Information Modeling for Owners, Managers, Designers, Engineers and Contractors. John Wiley & Sons, Inc., New Jersey, 2008.
 J. Heindl, M. Otter, H. Hirschm uller, M. Frommberger, N. Sporer, F. Siegert and H. Heinrich: The robocoaster as simulation platform – experiences from the first authentic Mars flight simulation. Proc. of the Motion Simulator Conf., Braunschweig, Germany, (2005).
 W. Kaczmarek and J. Panasiuk: Selected Application of Industrial Robots. Control Engineering, 11(104), (2013), 56-62, in Polish.
 K. Kozłowski, P. Dutkiewicz and W. Wróblewski: Modeling and Control of Robot Manipulators. Warszawa, PWN, 2003, in Polish.
 Use And Programming Of Industrial Robots, KUKA Roboter GmbH ZugspitzstraSSe 140 D-86165, Augsburg Germany.
 A. Payne: A five-axis robotic motion controller for designers. Proc. 31st Conference, Association for Computer-Aided Design in Architecture, Banff, (2011), 162-169.
 T. Szkodny: Avoiding of the kinematic singularities of contemporary industrial robots. Lecture Notes in Computer Science, Springer Int. Publ. Switzerland, 8918 (2014), 183-194.
 C. Zieliński, W. Szynkiewicz, T. Winiarski, M. Staniak, W. Czajewski and T. Kornuta: Rubik’s cube as a benchmark validating MRROC++ as an implementation tool for service robot control systems. Industrial Robot: An Int. Journal, 34(5) (2007), 368-375.