I have a polyline where each point has its own height
for these polylines I need to recreate the geometry (a pipe is round with a diameter of attributes, a pipe is rectangular with different ratios of width and height from attributes)
but difficulties appeared
the pipe has fillets at the end
and pipes of square section are either built on a plane or along non-joined segments
Friends I ask for help on how to build a solid geometry, taking into account different heights, and make the end of the pipe flat