This tutorial explains how to create a pipe mesh from a waypoint-array. I am a beginner and didn`t find an approach for my problem (at that time), so I came up with this solution and wanted to share it. This version of the script is a minimal example. I needed such an approch with bases at each waypoint for more complicated meshes.