Jump to content

DOP Wire solver - differents width


Darkpulse

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

Link to comment
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
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...