Mesh generation along the points

Hello. I am thinking about how I can implement mesh generation along the points. Is there a situation where the mesh needs to be rotated to the next point and I don’t understand how to calculate the positions of the corner vertices?

7620619--947635--Img.png

You would use the direction between any given two points to decide how to broaden the lateral-spaced points.

At corners you would blend and intersect the lateral lines.

Making corners seem reasonable is broadly called mitering, named after carpentry and joining wood pieces at an angle.

Packages such as Vectrosity have code to do this: