Edges of extrusion from curve don't meet

Does anyone know why this is happening?

Last time when I used a different curve for the cross-section I had no such problems, the edges were perfectly clear.

Thanks in advance!
.3dm and .gh files attached

https://drive.google.com/file/d/1ZA_g5KZaVT1uV97qttcs-TAGNuX_5KYh/view?usp=sharing
https://drive.google.com/file/d/1A7eJVAZlji58etO4tt6zJN57DaoGw_uY/view?usp=sharing

Hi.
If you create rib surfaces using straight lines with curves using the Loft or Ruled Surface command, then
more or less, the greater the curvature of the curves, the worse the glitches will be.
This could be a workaround for you.

help_reV1.gh (21.6 KB)

Thank you!!

In the meantime I already realised that the RuleSrf was the problem, but I just couldn’t get around it. Your solution is awesome! I learned a lot today.