Split Surface at Widest Value and Keep Bottom Part?

Hi all. I do need to split this surface at his widest points and keep only the bottom part but unfortunately I don’t know any good algorithm capable to do this operation. Have somebody solved before this issue?

Side view:

Top view:

Extract_intersection.gh (76.4 KB)

in your file I see this, and wonder how it is connected to the images above?

Extract_intersection VR 1.gh (15.3 KB)

If it was just a curve, you could have used Extremes (the one for curves, not values)

There is no surface to surface proximity in Grasshopper. You can try to intersect the surface with the surfaces of the bounding box, but I don’t get any results that way.

Extract_intersection VR 2.gh (30.4 KB)

This surface it rolling into itself. I do need to keep only the bottom part. I updated the definition with an additional curve that it is approximately what I am search to find to be able to split the surface in two parts, I do need to keep the bottom half. It is difficult to explain, hopefully this time I more clear.

Extract_intersection VR 2.gh (26.6 KB)

Pull Curve and Split Surface???

Extract_intersection VR 3.gh (53.3 KB)

Please don’t just blindy post files with changes under the same name.

You can use Isotrim instead of Split Surface; it’s more guaranteed to find a result. Still not sure what it is you are trying to do.

Almost there but the biggest issue I try to solve is how to automatically find that curve? This is just a sample, I do need to use the same algorithm in other similar cases. Here I provided the curve as a sample to better understand what I am searching for. In this example I just copied an edge and offset because it is a constant fillet, but how I can find the same line in a variable fillet surface?

Who knows? You have not explained:

  • what this object is
  • what your goal is and why

I can only take a stab in the dark.


Extract_intersection VR 4.gh (40.7 KB)
Extract_intersection VR 5.gh (22.4 KB)

in the simple case of your initial post, you can find the quad of the profile curve by computing the extremities with respect to the proper plane
(i drew a curve on the front view so the extremities are to be calculated on the YZ plane)
you can generate both the surface and the splitting line by extruding the curve and its lowest extremity point respectively.
use the line to split the surface. to select the bottom, calculate the centroid of each resulting surface, and sort with regards to the centroid’s Z value.
AA Extract_intersection.gh (8.3 KB)

Not sure this is what you want, but should get you started

But it’s not a curve, and a solution using Extremes was already proposed.

If you do not have access to the curve that was used to create the surface by extrusion you can simply extract the boundary edges using the brep deconstruct component

Thank you, Adel Albloushi

No, because the “edge” you need to find the top and bottom halves of the surface is a surface profile, not a BRep edge.

It so happens that the deconstruct brep component finds all the edges of a surface or polysurface One of the edges will be what you call “surface profile”.

I guess you need to try to see for yourself.

The more important issue is that you need to define your problem in a way that is not so ambiguous.

Can you translate what you mean by “top” and “bottom” in geometric attributes? In other words, what is the geometric description of what makes a bottom half of a surface in your case?

Thank you, Adel Albloushi

No. It does not find the required edge. Here is the surface viewed in profile:

The surface does not contain any BRep edges in the section the surface needs to be contoured to find the top and bottom halves. This edge is not guaranteed to be the same as the curve that was extruded or lofted to make the surface.

it’s true that it does not contain any sectional profiles, just boundary edges.

ok, if you are arbitrarily sectioning the surface, that is correct.

However, if it’s an extrusion proper AND you section perpendicular to the extrusion direction, you will get either an exact copy or a scaled copy of the profile. This must be true by the definition of an extrusion.

This, alas, does not hold with lofts, generally speaking, since lofts allow for continuously deforming profiles.


So let’s consider any arbitrary section of the surface. I get a curve. what are the geometric properties that determine which part of the curve is “top” and/or “bottom” ?

I don’t know. The OP has been vague. I have assumed the splitting point to be where the surface would touch the bounding box at its widest width.

I have to apologize, i haven’t been careful and thought you were OP :rofl:

@Cumberland

:rofl: Oh, okay.

I don’t know how to better explain but I do need a way to find the highlighted line which, if you look from the top, is the “virtual” outside edge of the surface.

Looked from the Top, this surface it is rolling back into itself. I do need to find the edge from where begin to roll back, split the surface using that curve (edge) and keep the bottom part:

P.S: The Top view is only a corner not the entire surface, for better explanation (hope so).