Regions from trim

Hi everyone! I am trying to divide an ellipse and that these remaining areas are able to be subdivided individually. Does anyone have any idea of how to achieve it?

divisiones basura.gh (7.0 KB)

You mean like this, using Shatter?

Kind of. I want each segment of the ellipse to become a region so that I can subdivide it in a squared grid. like in this picture

divisiones basura 2.gh (11.5 KB)

Awesome. And do you know if there’s a way to create a rectangular grid? I tried with the rectangular grid component however I am trying to define the size of each square and not the U and V divisions.

Not sure what you mean. Do you want a rectangular grid on each section?

yes, exactly

You’ve got 4 grids. They are all closed cells but flattened within each section. I don’t know if you want to retain the paths or were just interested in the cells.Coloring technique courtesy of @HS_Kim.

divisiones basura grid.gh (18.9 KB)

So you mean that you want to have different cell sizes for each quadrant (right?)
basura.gh (16.6 KB)

2 Likes

Very nice data manipulation in the bottom half.

1 Like

Do I need any plug in for this code? I cant open it correctly.

no, but i left a relay, do you have Rhino 5?

Yes i do, what is a relay?

That little ovalish think near the start of the definition.
ok, now it should open fine in R5:
basura.gh (20.1 KB)

thank you!!! It worked perfectly fine.