Geonode get convex hull of plane

Hi,
I’m trying to create a node setup which will output the convex hull of a plane. The problem I’m facing is that the built-in convex hull node converts a plane into a flat 3D object with multiple faces.
This is the closest I’ve been able to get after trying for a bit, but I’m not sure how to close it and it breaks if I change the original plane shape.
Is there a better way to achieve this?

I tried another method by making a mesh circle and setting the vertex positions but it gives unexpected results too.

The convex hull of a plane is… the plane… so duplicate the plane and you’re done

Are you sure?
Works fine for me…


What version of blender are you using?

Hi yutes,
this is what i came up with (also using the Convex Hull node):


ConvexPlane.blend (114.0 KB)

As you already noted, the Convex Hull node creates a manifold (closed) Geometry. If the mesh lies on the XY plane you can simply delete the second face (like suggested by zeroskilz) and you’re done. But if the plane is slightly tilted the Convex Hull node will create way more than just two faces:


I assume it is because of floating point precission but don’t know.

The trick now is to delete every face, that points in a different direction than for example the face with index 0 (shouldn’t really matter which index it is):


If you don’t mind the weird topology you’re done here and can skip the rest.
If you want to clean it up, you would first separate the boundary edges from the rest and convert it to a curve:

After that you create a Mesh circle with the same amount of points as the curve and set their position to the curve points:

I love it when you came straight to the point :rofl:

So it’s: getting the convex hull of a planar object…

ok

Yes, I’m sorry for failing to mention the orientation of the plane. As Zebrahead explains below it is observed when the plane has some rotation (and in my case offset from object’s origin).

Thank you for the detailed response Zebrahead. I’m fairly new to GN but your breakdown makes it easier to follow along.