algorithmic modeling for Rhino
the problem is due to some imprecision in the creation of the lines.
One "easy" but not very clean fix would be to just merge the lines where they do not touch.
I tried using Karamba for this (its Remove Duplicate Lines with some high tolerance), and the result was encouraging. I attach the finished definition.
for Robert McNeel & Associates
Thank you very much!! It works!!