karen Posted April 16, 2023 Share Posted April 16, 2023 in attached hip file, I copy a tube to the points of a circle. To have no gap between the copied tubes (attached image done manually), I need the number of points to be = circumference of the circle / height of the copied tube. I've created the circumference attribute at detail level, and tried using it in a resample sop but it doesn't seem to recognise it. Whether in the circle sop or resample, I can't get it to work. Any idea? circumference.hiplc Quote Link to comment Share on other sites More sharing options...
Librarian Posted April 16, 2023 Share Posted April 16, 2023 (edited) One Way. to play with Fetch in for each..You can make endless variations. Segs.hiplc Edited April 16, 2023 by Librarian Quote Link to comment Share on other sites More sharing options...
konstantin magnus Posted April 16, 2023 Share Posted April 16, 2023 The resample node has a distance attribute to set the height of the tubes. The input tube has been shifted sideways by its radius. copy_tubes.hip Quote Link to comment Share on other sites More sharing options...
hannes603 Posted April 19, 2023 Share Posted April 19, 2023 you can call the sc attrib over an for each loop to get random values . copy_tubes.hip Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.