Help centering and aligning an axis!
5633 15 1- Graco123
- Member
- 13 posts
- Joined: 2月 2018
- Offline
My assembly is from CAD so all the parts are in their correct place already. The “move pivot to center” does so based on a bounding box oriented from the scene. What I need to be able to do is select polygons, or points and have the center of the object align and center to the selection.
Please help me do this. I've played with the c-plane, Align handle, Orientation picking. None of them put the axis in the center of a ring of polygons.
I'm lost.
Please help me do this. I've played with the c-plane, Align handle, Orientation picking. None of them put the axis in the center of a ring of polygons.
I'm lost.
- BabaJ
- Member
- 2126 posts
- Joined: 9月 2015
- Offline
Hope this helps.
Using @P of selected prim.
Could also change wrangle to use intrinsic bounds of selected prim.
similar process also if you want to use points as your reference.
Also, if you want to use the bounds of a selected group of points/prims, also is possible.
Using @P of selected prim.
Could also change wrangle to use intrinsic bounds of selected prim.
similar process also if you want to use points as your reference.
Also, if you want to use the bounds of a selected group of points/prims, also is possible.
Edited by BabaJ - 2018年4月25日 17:05:57
- Graco123
- Member
- 13 posts
- Joined: 2月 2018
- Offline
BabaJ
Hope this helps.
Using @P of selected prim.
Could also change wrangle to use intrinsic bounds of selected prim.
similar process also if you want to use points as your reference.
Also, if you want to use the bounds of a selected group of points/prims, also is possible.
Unfortunately, I was not able to open the file.
- Graco123
- Member
- 13 posts
- Joined: 2月 2018
- Offline
Pretend the cylinder is a cad file in the place it needs to be. The Axis is at 0,0,0, normally. When I use the center axis command, it centers the axis according to the bounding box. I need a way to center based on some selected elements, whether it is faces, points, etc…
Edited by Graco123 - 2018年5月17日 16:44:23
- BabaJ
- Member
- 2126 posts
- Joined: 9月 2015
- Offline
- Graco123
- Member
- 13 posts
- Joined: 2月 2018
- Offline
- BabaJ
- Member
- 2126 posts
- Joined: 9月 2015
- Offline
- Graco123
- Member
- 13 posts
- Joined: 2月 2018
- Offline
- Midphase
- Member
- 833 posts
- Joined: 1月 2018
- Offline
Have you tried the Axis Align node in the Gave Development Toolset?
>>Kays
For my Houdini tutorials and more visit:
https://www.youtube.com/c/RightBrainedTutorials [www.youtube.com]
For my Houdini tutorials and more visit:
https://www.youtube.com/c/RightBrainedTutorials [www.youtube.com]
- Graco123
- Member
- 13 posts
- Joined: 2月 2018
- Offline
Midphase
Have you tried the Axis Align node in the Gave Development Toolset?
I have looked at the toolset in tutorials but it seems that this workflow moves the geometry to the center point. I can't do that. I need the geometry to stay in place. Sometimes there are hundreds of parts assembled into a model that I get from CAD. It would be painful to move all the parts to the center, and then have to re-align them to their proper place.
- BabaJ
- Member
- 2126 posts
- Joined: 9月 2015
- Offline
- Graco123
- Member
- 13 posts
- Joined: 2月 2018
- Offline
- BabaJ
- Member
- 2126 posts
- Joined: 9月 2015
- Offline
But can you open any other file now from current posts?
The reason I ask is because your solution is in the hip file I posted.
If you can't open it but others can something needs to be done on your end.( Bug report to forum administrator ).
If others can't open my file ( can someone try? ),
then it's on my end and I should look into it.
The reason I ask is because your solution is in the hip file I posted.
If you can't open it but others can something needs to be done on your end.( Bug report to forum administrator ).
If others can't open my file ( can someone try? ),
then it's on my end and I should look into it.
- Graco123
- Member
- 13 posts
- Joined: 2月 2018
- Offline
BabaJ
But can you open any other file now from current posts?
The reason I ask is because your solution is in the hip file I posted.
If you can't open it but others can something needs to be done on your end.( Bug report to forum administrator ).
If others can't open my file ( can someone try? ),
then it's on my end and I should look into it.
I just went and downloaded https://www.sidefx.com/forum/topic/55977/ [www.sidefx.com] RdbPackedObjec_Attrib_N.hiplc . It opened fine.
- BabaJ
- Member
- 2126 posts
- Joined: 9月 2015
- Offline
- tranasaurus
- Member
- 43 posts
- Joined: 11月 2016
- Offline
-
- Quick Links