Grasshopper - displacement group of sections in xy plane

Hi there!

I’m struggling with displacement of sections on xy plane.

My target is to place every group of sections (resulting from intersection from brep to plane) in order onto the xy plane, referencing every group with a number (0,1,2,….)

The main issue to me is that some plane intersects the geometry one time, other ones 2 or 3. So sometime I have to move one section, sometime 2, or 3… I cannot find a way to consider the sections ordered in group while placing onto the plane.

Thank you in advance.

sc.3dm (870.8 KB)

sections.gh (13.2 KB)

Hello Daniele,

Attached is script version 2, which should fix the problem.

I created a bounding box for each cut plane so that they can be grouped together.

sections_v2.gh (15 KB)

This ‘Tree/List Viewer’ tool (purple group) was mentioned in your earlier thread today and is irrelevant to this code.


sections_2025Sep29a.gh (38.4 KB)