Copy different sized spheres along a curve

   1896   4   0
User Avatar
Member
104 posts
Joined: Nov. 2007
Offline
Bit of a challenge. I'm trying to copy spheres with different pscales along a curve. I want the spheres to sit together as if they were on a piece of string, no gaps! I feel like this should be easy but I can't figure it out.
User Avatar
Member
77 posts
Joined: Feb. 2017
Offline
Do you mean this effect?

Attachments:
test.gif (621.0 KB)

My Youtube Channel [www.youtube.com]
User Avatar
Member
104 posts
Joined: Nov. 2007
Offline
This is exactly what I mean! What's the input to your scatter look like though? I'm not getting the same results. Thanks zengchen!
User Avatar
Member
77 posts
Joined: Feb. 2017
Offline
here is the hip file
hope you like it

it must open with Houdini 18….
Edited by zengchen - April 25, 2020 11:13:54

Attachments:
test.hiplc (94.5 KB)

My Youtube Channel [www.youtube.com]
User Avatar
Member
104 posts
Joined: Nov. 2007
Offline
Your solution was good zengchen and solved the challenge I posed but I found I needed some more options like the ability to specify the sizes of the spheres and have a bit of overlap if I wanted. I came up with this:
Edited by lloydwood - April 26, 2020 06:14:53

Attachments:
curve_pack.hiplc (97.3 KB)

  • Quick Links