Jump to content

Moving N group with N Points.


Recommended Posts

I have primitive groups cube0, cube2, cube3...cube63

I have 64 points.

I want to move any of the 64 points easily and the cube group will move accordingly.

lets say, each point is in the center of every cube group(its not really matter).

any help will be welcome !

B.

Edited by Barakooda
Link to comment
Share on other sites

Do you have a scene I can look at to see what you're on about?

If you want to group a point based on whether it's inside a cube or not (and give it the cubes name). Then I guess you could do a for loop on each cube and group by bounding box...

There's many ways of doing something like that, if you pass me a scene I'll be able to tell better what you are after.

Link to comment
Share on other sites

Do you have a scene I can look at to see what you're on about?

If you want to group a point based on whether it's inside a cube or not (and give it the cubes name). Then I guess you could do a for loop on each cube and group by bounding box...

There's many ways of doing something like that, if you pass me a scene I'll be able to tell better what you are after.

Thanks mate !

here you go.

Please everyone feel free to share your method to over come this issue.

example.hipnc

Link to comment
Share on other sites

Thanks mate !

here you go.

Please everyone feel free to share your method to over come this issue.

Hey, I dont know if I understand ur question or not. However, i think if u just wanna move or rotate ur geo according to the pts, u can just use copy sop and turn on "use template point attribute". Then, ur geo will inherit the attribute from the pts.

example_tong.hipnc

Link to comment
Share on other sites

Hey, I dont know if I understand ur question or not. However, i think if u just wanna move or rotate ur geo according to the pts, u can just use copy sop and turn on "use template point attribute". Then, ur geo will inherit the attribute from the pts.

Thanks Tong Le,

Its not what I meant, the functionality should take place after the copy sop.

I attached the the given scenario,

all you need to do is to move the groups "cube" by the the give points.

Link to comment
Share on other sites

how about this?

or, if the points are center of each geo group. you can scale down and make it very small then use attrib transfer sop for transfer the transform data.

thanks

almost :-)

I had to look on more foreach examples around the net.

I uploaded my solution.

thank you for the help !

B.

answer.hipnc

Edited by Barakooda
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...