Jump to content

Noob Alert - How to control quaternion rotation along point normals in copy to points.


alite

Recommended Posts

Hello

I've just started dipping my toes in Houdini land, coming from c4d, and I'm really hitting a wall where tutorials and the wiki isn't helping me, being more an artist than a mathematician :-) So bear with me.

I'm modeling 1 part out of 4 - of a round object, and trying to clone (copy to points) some torus objects onto some specific points. The part has 1 center piece, and 6 surrounding pieces, and a wan't my torus objects to be perpendicular from the center piece towards the surrounding pieces, so they form kind of a bridge, or some stitches if you will. I hope i make myself clear, English isn't my native language, but also see attached image.

I've googled long enough to figure out that it might be some kind of issue with the quaternion rotating along the point normal - But I'm not much of a VEX guy, and I can't seem to figure out which nodes to use in VOPs. So my last resort is reaching out here and asking for help.

See attached image - The selected rings is rotated pretty much correct. How do i rotate the remaining ones.
Also see attached file.

Hoping for some magic help on this one :-)

Copy_Angle_Help.png

Copy_Angle_Help.hip

Link to comment
Share on other sites

7 minutes ago, tamagochy said:

Convert edges to lines, use polyframe to create vectors along this edges, and then create quaternion from N and vector along line.

Thanks but I'm not sure I understand.
Would It be a hassle to get you to make a file for me?
Would really appreciate it.

Link to comment
Share on other sites

22 hours ago, anim said:

in your resample2 node check Tangent Attribute and name it: up

then just rotate your "stitch" geo before copying by 90 in Z

Hey Tomas

Thanks you so much !!
I can't believe it was that easy... I've been messing with this the whole week! 
Thank you for taking the time to look at the file.

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