The problem is that for some reason the seams aren’t tangent and i get small peaks instead of a smooth surface. Can you do it seamlessly without dividing the curves? I attach the file bellow. prueba.3dm (58.9 KB)
maybe check the exact shape of the planar top / bottom.
(and therefor define it with a second curve ?)
_railrevolve
will extend the shape of the quarter / half circle at the diagonal. (it will become a partly ellipse)
not sure if this is your design intention.
check the section in the diagonal. compare green and red curve: