I’m not quite sure if I follow exactly what you need but TUBE allows you to extrude a polygon along a path of two (or more) points.
You need two extra ‘dummy’ points in the path for the start and end points.
These are used to start and end the path and control the angle of the end surfaces of the extruded (or swept) polygon.
If all the points are perfectly in line then the ends will be perpendicular to that line.
If not in line then the end surfaces will bisect the angle formed by the first 3 and last 3 points in that path (i.e. points 1,2 & 3 and points 2,3,& 4 if you only have a total of 4 points in the path (2 dummy and 2 real)).
Versions 6.5 to 22
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit