Made using blueprints from the saint-Étienne cathedral, this procedure takes a line as an input and outputs the result seen in the first picture. This was made as a proof of concept for a student project. The full project can be found at:
https://www.youtube.com/playlist?list=PLNDgoeOg5FN9eAIJQ8MBFum8H1R_jWTCg