Jump to content

Inside the Vellum Solver, how can I retrieve the stretch value?


Masoud

Recommended Posts

Hi guys,

In a Vellum sim, and inside the Vellum-Solver, how can retrieve values like the stretch amount (as an attribute), to drive something based on it (using in POP, or Geometry Wrangle)?

I would like, for say, to stop the "Attach to Geometry", if a Vellum string have been stretched more that a value. I don't want to use breaking threshold workflow...

 

Thanks for helping.

Vellum_Test_01.hip

Link to comment
Share on other sites

Hello Masoud, 

Just a guess, did you try to play with "Vellum Constraints Properties" in the vellum solver ?
You can output a group from your constraint node

image.thumb.png.fdffc37bb5b81997231f62b1f1158f13.png 

Then, apply constraints properties for this group

image.thumb.png.afd18390fd665c5757e8c71f1bac9d2c.png

Link to comment
Share on other sites

Hi Fakit, it doesn't work.

When you add a "Vellum Post-Process", it creates all attributes that I need, but I need to create the same attributes inside the solver to drive the things...

Edited by Masoud
Link to comment
Share on other sites

It looks like a custom function inside the Vellum Object. Unlock those HDAs and poke around.

You could try taking the code and placing it inside a GeometryWrangle running over primitives bound to the constraint geometry.

Untitled-1.jpg

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...