Align object to the vectors of polygon when using Copy to Points (or Copy Stamp)....

   2585   1   1
User Avatar
Member
16 posts
Joined: Feb. 2019
Offline
I'm a bit of a Houdini newbie having just bought an Indie licence. I'm attempting to model an Iron Age Roundhouse for an educational project.

I've arrayed a series of roof posts using the Copy To Points node with a guide Circle. I've copied the base guide circle and constructed a beam. A would like to align the beams to the vectors of the second guide circle so that the beam sits between the posts. The beams will alternate between ups and downs hence the gaps at the moment.

Believe I need an Attribute Wrangle prior to the copy to points and connect the guide circle object as the second object. Done lots of looking online and completely confused about the best approach and I've got a bit of a deadline. Any guidance/suggestion would be really helpful.

Many Thanks,

Shaun


Attachments:
roundhouse.png (1.1 MB)
nodes.png (78.7 KB)

User Avatar
Member
56 posts
Joined: July 2017
Offline
Hello-
I think it probably has to do with the normals of the circle: they are pointing “up” (parallel to the axis of the circle). Then, when you place the beams on the circle, they don't change their orientation. I think the normals of the circle need to point “away” from the circle (radiate out from the center of the circle). Then you could line up the beams with those normals. I'm not sure how to do this, but I'm looking into it.
-Scott

Edit:
Try using a tube rather than a circle. I think the issue is that the circle geometry does not support the concept of “normal” since it is two-dimensional. Use a tube instead. You might need to rotate your beams 90 degrees on some axis (not sure which–z axis?) to get them to line up right. Also you can use the target point picker to pick just the points on the top of the tube.
Edited by scottval - April 3, 2019 20:45:04
  • Quick Links