Jump to content
Darkpulse

DOP Wire solver - differents width

Recommended Posts

Hi !

First post here, I'm starting Houdini since a few weeks only... I'm wondering how to set different width (for repulsion) for each wire I've created.

I've tried to create a random point attribute to drive the width into the wire object but it doesn't seems to work, I feel missing something.

Help needed :)

 

Thanks

RANDOM_WIRES_0.1.hip

Share this post


Link to post
Share on other sites

I think I would setup the @width construction with a FOREACH loop, something like this... This is actually a loop within a loop setup. The outer foreach is looping over the number of lines/wires in the setup. The inner attributewrangle is looping over the points in the line/wire provided by the foreach. This way @width, for every point on every line can be set.

Your setup makes a nice set of twisting wires, cables, vines or vein bundles.

Untitled-1.jpg

ap_RANDOM_WIRES_0.1.hiplc

Edited by Atom
  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×