5
$\begingroup$

There is a subdivided cube (4x4x4 vertices).

enter image description here

I only need to extrude one of his faces, such as the middle one on either side using geometry nodes. But when I try to specify a vertex group, all planes touching these vertices are extruded.

enter image description here

enter image description here

The result should be as follows(Using geometry nodes):

enter image description here

I need to be able to extrude not only middle face, but any I want.

$\endgroup$

3 Answers 3

6
$\begingroup$

You can extrude a specific face in Geometry Nodes by selecting it.

The selection can be achieved by comparing the current index with a value of your choice. Of course you have to know this index or find it out by trial and error.

There are several index viewers that allow you to view the index of the faces.

This question has also been asked here before: How to show index of faces, lines, points?

enter image description here

An alternative would also be the selection via a vertex group (Blender 3.2+):

enter image description here

$\endgroup$
7
  • 2
    $\begingroup$ Utilities > Compare node (Integer, Equal) ... or Utilities > Math node (Compare, Epsilon 0) $\endgroup$
    – vklidu
    Commented May 3, 2022 at 18:08
  • $\begingroup$ @vklidu Thanks for the complementary information! $\endgroup$
    – quellenform
    Commented May 3, 2022 at 18:11
  • $\begingroup$ but how does one know what index is needed for the desired face? $\endgroup$
    – rothloup
    Commented Oct 8, 2022 at 12:40
  • $\begingroup$ @rothloup I have updated the question accordingly, and hope this helps you. $\endgroup$
    – quellenform
    Commented Oct 8, 2022 at 13:05
  • 1
    $\begingroup$ @rothloup After all, the question here is "How can I extrude only one face using geometry nodes?", and this answer here is the solution. If this one doesn't help you, please create a new question so we can think about your specific task. $\endgroup$
    – quellenform
    Commented Oct 9, 2022 at 8:20
5
$\begingroup$

In case you want to extrude using a Weight map:

Extruding weight paint

Geometry Nodes:

Geometry Nodes

$\endgroup$
0
5
$\begingroup$

You can use the Capture Attribute node to transfer the vertex group information to the face corners:

enter image description here

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .