Hi, I have little exprience with GH and am trying to divide a collection of irregular surfaces with a similar grid, and have no idea how to do this. I tried using isotrim but it ignores the surface original shapes, and also thought of trimming them but that didn’t work as well.
Any help will be greatly appreciated![SRF-DIVIDE.gh|attachment]
Hi, sorry.
Attached is a clearer image -
the idea is to divide them into square-like tiles roughly the same size. they don’t have to be equal but just match the outline of the surface they’re dividing
You’re welcome! I’ll just mention that most of the curves in the periphery of each region are not closed. I tried it with Region Intersection instead of Trim with Region because that does result in closed curves, but I had to reduce the grid to a 50x50 so it would end any time today. Another alternative, if you have the Pufferfish addon is to use the Close Curve component, which will do just that, but with some slight inaccuracies, in this case.
The white group (below) returns surface fragments. This was much more difficult than it should be, requiring use of Repeat Data(yellow group) to match data trees. And there are a few fragments missing due to mystery SrfSplit failures.