0
$\begingroup$

I want to make an object like the one below, which I have managed to create using two different Extrude Mesh nodes, and then combined with Join Geometry.

My concern with this method, more than just being inelegant, is that there will be overlapping geometry from the two joined objects.

Is there a way to do this with a single Extrude Mesh node, somehow giving the selection the specific indices to extrude without having to use an "equal to" or "greater than" range?

enter image description here

NOTE: I have seen this question asked in other forms, but the other questions are not specific to my needs. In particular I would like to know if it is possible to give the Selection input of the Extrude Mesh node specific indices (i.e. 1, 2, 5, etc), as opposed to a math range.

$\endgroup$

1 Answer 1

4
$\begingroup$

You don't need to use multiple extrusion nodes, you can consolidate your index Compare selections with Boolean Math nodes. For the specific example you provided you would use one in Or mode, and it would look like this:

enter image description here

You can learn about the modes in the manual here. Unfortunately, there is not an option to enter a list of index numbers to select them at once, however. So if you have many indices you wanna add into a Boolean Math setup, it can get a bit long winded an tedious. Depending on the task at hand, you might wanna use other comparison methods, like direction, in that case.

$\endgroup$
2
  • 1
    $\begingroup$ thank you so much for chiming in with this answer. Every time I post to this forum I keep my fingers crossed for a few names in particular and yours is one of them. I have not been made acquainted with the Boolean Math Node yet, and I just felt a leap of evolution in my understanding of making selections in geonodes. Thanks again. $\endgroup$ Commented Dec 28, 2022 at 21:21
  • $\begingroup$ That's kind of you, thanks. I recently had a level up moment regarding how selection works myself, so I know the feeling :) $\endgroup$
    – Kuboå
    Commented Dec 28, 2022 at 21:40

You must log in to answer this question.

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