voronoi forEach export .obj?

   4799   4   0
User Avatar
Member
16 posts
Joined: 9月 2010
Offline
Hello,

I need to export all the pieces that are created by a ‘voronoifracture’ node and was wondering if there was a straightforward way to do this?

Can I use a ‘forEach’ node to do this?


cheers
fred
User Avatar
Member
519 posts
Joined:
Offline
Hey Fred,

if all the pieces are in a separate groups you can use the foreach for that. Either select the by group or by value, put a delete sop in the foreach and delete everything but the current piece(in case of the by value option) and then pipe that in a file sop or rop geometry.
User Avatar
Member
46 posts
Joined: 1月 2007
Offline
No need to use a foreach (which can be very slow if you have lots of pieces). Just pipe your voronoi tool into a delete sop and use the following expression in the group field:

myVoronoiGroup_`$F`

Set the operation to delete non-selected and plug it into a rop.
User Avatar
Member
46 posts
Joined: 1月 2007
Offline
No need to use a foreach (which can be very slow if you have lots of pieces). Just pipe your voronoi tool into a delete sop and use the following expression in the group field:

myVoronoiGroup_`$F`

Set the operation to delete non-selected and plug it into a rop.
User Avatar
Member
16 posts
Joined: 9月 2010
Offline
Thanks a lot for the tips!
I'll try these methods.

cheers
fred
  • Quick Links