A convex polyhedron with flat faces and a different number of angles

Help me with the algorithm. I need lids for the mold in the photo. Can you tell me how to make them? It’s not very convenient with the Voronoi node.

100.gh (8.5 KB)

From your brief description and images I am at a loss to understand what you want. You need to give a better explanation if anyone is to help you.

For example: “mold in the photo” is presumably the brown thing. But the red thing bears no resemblance to it, so how do they relate? If you want “lids” for the brown thing why is there nothing in the gh file that relates to it? And where are the lids to go? What is the material you are molding - how strong do the lids have to be to contain it? What is the mold made from?

You probably have lots of thoughts about this in your head, but the casual viewer knows nothing, so you have to think about what they need to know in order to address your question. If you struggle to get past your assumptions, find a friend with critical thinking skills and explain what you want to them so they can ask the questions needed to tease out your intent.

Good luck,
Jeremy

Because I’ll do everything else based on the shape of the lids. I’m having trouble getting the general polyhedron. Thanks for the answer.

Do you have a 3D model of the real artwork?

So the thing in the photos is just a generic example and not the specific item the lids are for?

There is no 3D model, only photos.

And you are trying to rebuild as closely as possible or just something similar?

yes, that’s exactly it

choose a center, scale …

100.gh (15.4 KB)

Haha good luck.

Thank you. I have no problems with this stage, I have problems with getting the primary form.

Thank you. What’s funny about that?

Knowing how difficult it is…

Hello

Ok it was not not clear. I am French and i search for lids meaning on google. A brand here !!!

Also I don’t understand what you mean by mold. This looks like Corten steel plates. Not sure something is molded!

here is a way to make the “cell” with Grasshopper and Rhino, this is related to this discussion

The idea is to have a center, you make some planes/surfaces that represent the faces of your shape. The tool I made will make a “reflexion” point for each face, this will be used by “Voronoi Cell”

And “Rob” it is always good to give credits “Arik Levy”

Because of the large number of faces, a large number of points are needed. Therefore, it is difficult to manage the initial geometry. This is my problem.

I like puzzles like these. Thank you for that. This is my approach:

  1. Work with all panels: Offset + Ruled surface to get the thickness of the steel
  2. Choose point (I took the center of the whole Brep, but could be any centre).
  3. Extrude to point.
  4. Move the panel inwards to centre, use it to spilt the extrusion.
  5. Cap to make closed brep
    Study the steps , so you will find your own way
    Tip (I use a temporary list item to work with 1 panel , so I see exactly what is happening in every step).
    Regards, Eef


    100EW.gh (37.2 KB)

To generate the starting polyhedron, instead of Voronoi, you can use a method called Tangent Plane Intersection (TPI). With Voronoi, you have to place the starting point knowing that the resulting face will be halfway between the point and the cell center; with TPI, the initial point is on the resulting face. The trade-off is that TPI is quite finicky, and the result can easily go haywire, so not all point configurations result in a valid shape. You’ll have to test it and figure it out.


The remaining steps are similar to what others have shown.

The definition uses the froGH plugin to get Mesh vertex neighbours. There is a way also with standard components, but I took the short and easy road this time.
TPI.gh (39.5 KB)

For-fun variation (since there are no rules) inspired by @laurent_delrieu 's example but sped up to avoid trimming with pipes and brep-edge filleting:
100 (1).gh (38.7 KB)