Сlosed polyhedron with flat faces

Guys, help me, I don’t know kangaroo. I need to get a closed polyhedron with flat faces. I get either curved surfaces or flat faces with gaps, which isn’t right.

26.06.gh (22.5 KB)

For faces meeting three around each vertex, it is geometrically impossible for them to be planar while also lying on a cylinder-like surface like this.

Perhaps you could tell us more about what you are aiming for here.

The main thing is that there are no gaps; the protrusions do not necessarily have to be on the surface of the cylinder.

If you need no gaps, as Daniel said, the first solution is the correct: NO flat faces.
The possible option is to traingulate everything, but it would change the faces appearance.

Thanks for your reply.

  1. The faces must be flat.
  2. I need a closed polysurface without gaps.
  3. The polysurface can extend beyond the cylinder surface.
  4. You can add or remove a face if no other solution is suitable.

I will start making it as traingular mesh. This would let you move vertices faster and easyer.
By moving the vertices you can find a position where SOME of the face could be converted in flat Ngons and most remain triangular flat.
At the end Tonurb will convert each face to a nubs face.

Sounds great!

This is my best from the information I have.
All faces remains triangular and flat

20260627_Polyhedron.gh (21.9 KB)

With a bit of Kangaroo (planarization process) you may achive a better result reducing the number of triangles but not completely.

If you can tell us your goal we may figur it out a different approch that may works for you.

My interpretation.

2606 a.gh (43.8 KB)

Wow, that’s awesome! Do you think there could be some kind of minimum face area limit? So that the algorithm would filter out polyhedra with small face areas and prevent them from being too long?

I haven’t looked at @leopoldomonzani file but the shape looks like a voronoi cell. There is no automated, straight forward approach to avoid small faces. I find the best way is to manipulate the voronoi points manually. I’ve done a fair bit of that for this project.

Thanks for the answer

Try this modification.

Which plugin displays digital values ​​on nodes?

Editor di dati persistenti | Food4Rhino

solution