I am looking for a two part method.
Firstly, in the situation where I have two rectangles, one inside the other (annotated in orange in picture below), I would like a way of filing the space with random blocky closed polylines (annotated in blue in the picture after the one below). I have looked at parakeet and Voronoi options but nothing quite gives the result I would like, which is this random and blocky result with shared borders between the polylines.
Secondly, once I have those closed polylines I would like to then both relax and collide those polylines with each other. The result would be loosely based on the original random blocky pattern, but with small gaps between the polylines, and then also creating a smoothed/interpolated line. I have a feeling that this operation is best done in Kangaroo, but the correct combination of goals always eludes me in Kangaroo. I suspect it is something along the lines of dividing each polyline into say 100 points, then creating a polyline from those points, then an edge length goal combined with a radius collide goal.
Any help/pointers would be much appreciated!
Blocky polylines.3dm (44.7 KB)

