Divide non-planar curved surface into planar surfaces

Hey All,

I would like to divide a curved non-planar surface into planar surfaces.

First I divide both edges of this surface into equal divisions and draw lines between pts:

Then I divide these curves into 1.4m segments.
Here’s my ideal module, a planar surface that is 1.4m in height and in varying width:

a vertical row of modules as I highlighted here, they don’t have to be planar with each other, as it stacks I would like it to rotate it so that it stays as close as possible to the curved surface:


Any ideas how I can achieve this?

Here’s the gh script with internalized geometry:
dividetoplanar.gh (13.2 KB)

Meshing it, then planarize it with K2 or NGon, get the boundary surfaces at last.

1 Like

Here’s one approach to it. My attached definition follows the steps below

  1. Combined points and culled duplicate points
  2. Organized points into branches corresponding to each individual surface. Achieved this using ‘Relative Item’
  3. Found the average plane between the point sets using ‘Plane Fit’
  4. Projected points to their corresponding plane
  5. Created a closed polyline then a surface from that set

There are a few different ways to create planar surfaces from the point sets depending on how you want the surfaces to connect to each other. For example, setting the 4th point as a function of the other three…
dividetoplanar.gh (20.3 KB)

2 Likes

Thank you so much Oscar, this is a great approach that works for me.