3

I need to fill the holes in the mesh using Geometry Nodes:

I've tried using the Convex Hull node, but it creates a lot of extra edges:

Expected result:


(Blender 3.6.1)

Markus von Broady
  • 36,563
  • 3
  • 30
  • 99
arachnoden
  • 1,179
  • 3
  • 18
  • 2
    In case you didn't know, you can easily create this star-shape Icosahedron class 2 type of mesh using Geodesic Domes addon using these settings – Harry McKenzie Sep 01 '23 at 12:05
  • @HarryMcKenzie Thank you, but i have a strong "Addon-phobia" :) Plus, I want to use transform animation, so it's important that this is achieved by geometry nodes – arachnoden Sep 01 '23 at 12:09
  • 1
    It's an included addon. Many of blender's current functions were, at one point, addons. But ok, do you. – JB Riley Sep 01 '23 at 12:40
  • 1
    You could decimate the triangulated faces that Convex Hull creates for you with this technique: "Decimate: Planar" in Geo nodes. Something like this: https://i.stack.imgur.com/QPQgi.jpg – quellenform Sep 01 '23 at 12:42
  • @quellenform Only "native" nodes are used, so this answer works for me. Write this as a complete answer to close the question. – arachnoden Sep 01 '23 at 12:56
  • 1
    If the other answer basically is a solution to your question, I would rather say this question could be closed as a duplicate with a link to the other question...? – Gordon Brinkmann Sep 01 '23 at 14:28
  • @GordonBrinkmann i was thinking the same thing, but this is about how to fill faces. Maybe someone can come up with a solution on how to fill faces? Convex Hull doesn't work properly. – Harry McKenzie Sep 01 '23 at 14:57
  • @GordonBrinkmann Technically, you're absolutely right, which is why I was still hesitant. The question is different, but the solution is the same in this particular case. I'll leave the question open for now, because there may be another solution. – quellenform Sep 01 '23 at 14:58
  • 1
    I solved your dilemma by editing the title to more accurately describe the OP's problem - cheers! :D – Markus von Broady Sep 01 '23 at 18:36

2 Answers2

5

I don't know if this question deserves this answer (maybe it should be marked as duplicate), but I'll post it anyway. Maybe another idea will come up that will solve the task better.

My idea would be to proceed exactly as in the question, and remove the excess edges that Convex Hull creates with another node group, which is described in more detail here: "Decimate: Planar" in Geo nodes

Remove excess edges

In this example, the node "299231" contains exactly the node group given in the other answer.

It may not be the best solution, but it works.

quellenform
  • 35,177
  • 10
  • 50
  • 133
3

Here's a simple approach that puts missing pentagons in your holes:

enter image description here

Harry McKenzie
  • 10,995
  • 8
  • 23
  • 51