Jump to content

Uniformly distribute geometry on different edge groups


Recommended Posts

Hello everybody.

I have a task to make an asset. I'm pretty new to Houdini, but I'm familiar with some basics. What an asset must do:

1. We have a geometry, on which we select several edges by hand
2. Place these edges to different groups. I don't know how to do that
3. Convert edges to splines(I found a python script for this)
4. Place geometry on different spline groups, so they don't overlap each other and we can parametrically define an offset between them. I also don't know how to do this.
5. Control the scale of each element by spline ramp.

Here are some pictures. On first we have some edges and we need to put them into different groups, marked 1,2,3.... On the second picture we see the scale of the geometry that we placed on the edges. For example on group 9 we have smaller geometry scale on the sides, which gets bigger in the middle
photo_2017-07-07_19-11-06.thumb.jpg.5f1a8810773f14274e746af49fc8b128.jpgphoto_2017-07-07_19-14-19.thumb.jpg.14a57fd0b8859c1b13dacaa2745e98d3.jpg

 

I hope i described it right. Thank you for your help!

Edited by Tokezo
*by hand
Link to comment
Share on other sites

2/3. It's trivial to place split geometry on different groups using Partition node. You can even transfer it back to original geometry.
3. Try Dissolve node instead.
4/5. Polywire it. You can control the width of the Polywire's output geometry. Setup ramp parameter in VOPs or Wrangle to map width to arbitrary shape you need.

edges_to_path_driven_geo.hipnc

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...