This is the result of a program I wrote for AutoCAD using LISP (a programming language). It works by reading a text file (created by another program I wrote in MatLab) and extracting height values. It then draws bents, one at a time, to their respective heights. The bents themselves are just line segments. The purpose of this program is to help me figure out how to organize the code when I go to redo it with 3D elements, aka pieces of lumber instead of line segments.
The MatLab program creates data points for a roller coaster layout, and will eventually allow for fully laid out courses, banking values etc. This AutoCAD code will take that data and draw the structure of the roller coaster automatically, saving a significant amount of time in the design process.