Jump to content

orienting copies / polyframe question


rbesca

Recommended Posts

hey everyone! I'm trying to copy and orient those parts correctly: 

I used polyframe and created tangent normals and an up vector which works great for copying all the parts in place with the desired orientation.

but the top part just rotates with the whole thing when translating the circles they are copied to.

Can I use orient to lock them always pointing up? the tubes are supposed to connect to a disc above

image.thumb.png.2bbb97c5eeb8ffb2122641d9f644bcde.png

polyframe for tangent N gives almost desired result

image.thumb.png.1d5904a949890545b944732c21979317.pngimage.png.8c08d0c1064bb34c740152d0a3cde6b0.png

image.png.d7db3c9478a88b1e90425bce295ca74a.png

orientation_copy.hiplc

 

Edited by rbesca
Link to comment
Share on other sites

  • rbesca changed the title to orienting copies / polyframe question

yup i tried this too, not that exact same way but I got this result when I connected the earlier output without polyframe, just the points I want to copy it to.

 

but now the parts don't align anymore at the bottom. if I try to offset it with pre-transform it will work for one of them and the rest is messed up

image.png.a30a9999d86476632e26efe513b3611e.png

 

other method gives aligned result but messed up rotation

 

image.png.e3a6864aeac5d616563eac57ca905c0b.png

Edited by rbesca
Link to comment
Share on other sites

I don't understand everything quite yet but this is amazing, thanks! why does the beta rotation in the rotation matrix channel need a different factor? that channel uses the up vector instead of N so I assume it has something to do with that? I changed it around but things still worked, the only thing that changed that I could tell was the amount of full rotations it does when changing the slider?

  • Like 1
Link to comment
Share on other sites

The matrices where more for me to check if the parameters worked correctly. You can ignore them.

To explain how they work:

  • the first rotation is around the main axis (the direction, which is N)
  • the second rotation is around the secondary axis (the up vector)
  • the third rotation is around the main axis again (but it should not has transformed yet)

Each step is applying a rotation matrix on the base rotation R, which start with the identy matrix.

here is another example to visualize the rotation, where N = {0,1,0} and up = {1,0,0}. As you can see, that the rotation of the first matrices are now performed in the transformed space.

 

mat_chain_rotation.hipnc

Edited by Aizatulin
  • Thanks 1
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...