0
$\begingroup$

I use Geometry Nodes to create cushion stairs. I can't get any data from the nodes to pin the geometry, the whole mesh just falls.

the instances cubes indicate the face im trying to pin

I am able to get the data to affect the material shader and can view the selection in a viewer node:

Colors seem to like nodes

In the Node tree I am instancing 1 Mesh Line onto another and extruding the mesh:

The node Tree inside node group

I've tried multiple different ways of getting the data out of the node tree including a Store Named Attribute node but with no luck.

Here is a copy of the Blend File: Blend File

$\endgroup$

1 Answer 1

0
$\begingroup$

Attributes and vertex groups are different types of data, looks similar though. Vertex groups are said to be replaced by generic attributes for a very long time, but for now they are not compatible. Currently, there are no nondestructive ways to convert attribute to vertex group. (You can modify vertex group if it exists though, but it doesn't work in all cases) The destructive way is the following. Apply Geometry nodes modifier. In Attributes tab, click on down icon and select convert attribute. Select mode to Vertex group.

enter image description here

Now you can use newly created vertex group.

$\endgroup$
3
  • $\begingroup$ That is interesting, in this video youtu.be/7gEiTIor7ag?t=239 someone does something similar to what I'm trying to do but with a proximity node and it seems to work, looking at the comments It looks like something changed in ver. 3.2 however I can't seem to get the results I'm looking for even in 3.2 darn looks like i might have to look for a different solution $\endgroup$
    – Tenjak
    Nov 12, 2023 at 20:04
  • $\begingroup$ Yep, you are right. It is kind of regression. I've tried 3.1 and it works. But you have to change type of output to float and join geometry with original mesh (that has the vertex group) $\endgroup$
    – Crantisz
    Nov 12, 2023 at 20:30
  • $\begingroup$ that sounds great! , Would you be able to show me the node setup ? I tried in 3.2 and couldnt get it to work $\endgroup$
    – Tenjak
    Nov 12, 2023 at 22:02

You must log in to answer this question.

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