Your solution does work! I’ve tested it. The key is the horizontal planes whose y axes are perpendicular to the planes created by the contours and x axes are parallel to the contour planes. They make the orientations of the sections correct. Thanks a lot!!
Now I’m trying to create sweep objects from closed curves in order to finish the imitation of my precedent. But it seems that sweep1 in grasshopper is not perfect. Some of the curves cannot create sweep objects.
beams_V1.gh (29.3 KB)
The sections of the beams are not aligned with the section plane, but still the beams are not twisted.
On the floor level, the beams sections are rotated so they are symmetrical to the section plane and try to be as near as possible to the ground curves.