3
$\begingroup$

Pulling faces out while remaining connected using geometry nodes

In "normal" modelling mode I can select specific faces and hit the G key then the X key to pull out the faces along the x-axis (and the faces remained joined)

see image below:

img1

But how can I produce the same thing in Geometry Nodes? I was looking at the extrude node but it doesn't have an option to do this.

mg2

$\endgroup$

1 Answer 1

3
$\begingroup$

Knowing the index of the face, you can capture a selection of that face and use it as the selection of the Set Position node.

enter image description here

enter image description here

In Blender 3.3, instead of capturing, you can just use the Field on Domain node:

enter image description here

$\endgroup$
7
  • 1
    $\begingroup$ i deleted my answer because yours is way better and easier! +1 although i don't know why this doesn't work here: [1]: i.sstatic.net/klcQF.png do you know...? $\endgroup$
    – Chris
    Jul 24, 2022 at 6:00
  • 1
    $\begingroup$ @Chris it's because of the way the data is converted to the vertices domain from the faces. For integer data, the resulting value will be the average of the values in the faces, so the resulting index may not even be from a face that contains this vertex. Now for boolean data, if there's a single true value, the resulting value will be true, that's why the Compare node was used before the Field on Domain. $\endgroup$
    – Hulifier
    Jul 24, 2022 at 7:03
  • 1
    $\begingroup$ Thank you ‼️ how or where did you get that knowledge? Are you one of the developers…? $\endgroup$
    – Chris
    Jul 24, 2022 at 7:08
  • 1
    $\begingroup$ @Chris I coded some new nodes, but just for a private custom build for myself, so i'm not a developer of the official blender. But that's not where that knowledge comes from, it comes from looking a lot to the spreadsheet and testing. $\endgroup$
    – Hulifier
    Jul 24, 2022 at 7:24
  • 1
    $\begingroup$ wow...that's impressive! I learnt a lot of your answers...they are really one of the best GN answers on SE! $\endgroup$
    – Chris
    Jul 24, 2022 at 7:26

You must log in to answer this question.

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