Segment to integral body

segments to integral body.3dm (1.1 MB)
I get the geometry by 1 rail sweep and several sections.
There are three groups of sections and the correspond rail, how can I get the final geometry as an integral body, not like what I get now(three big segments).

I’m not 100% sure but I’ll guess you want to create one closed polysurface here. Your model is grouped so first use Ungroup to separate it into three parts. Then use Cap to close the planar openings on each piece. Finally, use BooleanUnion to merge the three solids into one closed polysrf.