Keep surface edges planar in an undulated surface

I created a surface that is rippled, and even though the edges of the surface look planar, when the points are deconstructed, the Z axis shows that none of those points are actually on the ground plane. Any advice on solving this issue?

Thank you
PlanarTowardsEdge.gh (15.9 KB)


1 Like

Thank you for the response. I looked at that definition when initially trying to work through the issue, but I want to avoid trimming off any excess part of the surface.

When I use a rectangular surface, I’m able to get the edges of the surface to be planar, but anytime I introduce a more complex curve, as in this case a circle, the surface edges tend to not be planar.

Any advice?

I added a snippet of my code (white and cyan groups) to yours and got a much flatter curvature graph. My code is somewhat redundant to yours with the difference being that you are getting non-zero values outside the circle while I am not, thanks to the cyan group.


PlanarTowardsEdge_2021Feb24a.gh (30.7 KB)

Not sure why it shows any at all though? When I increase my ‘Range’ slider value to 0.335 it gets flatter but above that value gets rippley again.

I don’t see how to create a circular untrimmed surface from SrfGrid?
And I don’t see how to make linear ripples on RevSrf? (Untrimmed Surface)

I was using a circle as example geometry, in reality the shape is less uniform. The snippet you added helps. But if one was to zoom in closely in a right or front view, you can see the curvature graph is not planar. Because the curvature graph says the edges are not planar (even though the curve panel does?), any time I increase the height of the ripples, the curvature graph also exponentially gets larger which leaves me little room to play around with the surface. Thank you for the help so far, if you have any more advice that would be greatly appreciated.

PlanarTowardsEdge_v2.gh (23.0 KB)

1 Like

Is this important?

missing

You missed a detail in transposing my contribution (or just ignored it?) since you have ripples outside of your curve. And you lost the ‘Range’ slider. I added those bits back and see a smoother curvature graph, though it still has a few very small vertical anomalies. Most of the graph is measuring the project/split results rather than vertical displacement.


PlanarTowardsEdge_2021Feb24b.gh (34.3 KB)

Thank you for the response, the lunch box component is not important.

I originally had that extra range slider that you provided in the definition, and although it did smooth out the curvature a bit, the edge of the surface wasn’t completely planar so I ended up removing it to try something else. I am just stumped at the issue at hand. When I divide the surface edge in the and get the Z height of those points, although they are incredibly small, they still are not 0. Nonetheless, thank you for the help.