Jesus Nieto Posted December 20, 2017 Share Posted December 20, 2017 (edited) Hi Everybody. I've noticed a strong missing part in the Voronoi fracture SOP that would be very useful. I'm trying to generate some kind of shared face id. in order that if I had a box split it 2 parts, both inside faces from the pieces would share an attribute "id" that means they are complementary faces. I need to make this work for many pieces. Maybe there is an already "out of the box" way to do this. Does anyone know a way to achieve this? Edited December 20, 2017 by Jesus Nieto Quote Link to comment Share on other sites More sharing options...
Jesper Rahlff Posted December 21, 2017 Share Posted December 21, 2017 not sure I understand you correctly, but can't you just tick the "inside group" option on the Voronoi? you can then isolate inside pieces and give them a shared attrib value if you want. Quote Link to comment Share on other sites More sharing options...
Noobini Posted December 21, 2017 Share Posted December 21, 2017 (edited) scratch... Edited December 21, 2017 by Noobini Quote Link to comment Share on other sites More sharing options...
f1480187 Posted December 21, 2017 Share Posted December 21, 2017 (edited) // Primitive wrangle. int pts[] = sort(array(i@cellpt, i@clippt)); s@common = sprintf("%d-%d", pts[0], pts[1]); Seems it does the job. You can enable i@cellpt and i@clippt attributes in VF's "Attributes" tab. common_side.hipnc Edited December 21, 2017 by f1480187 2 Quote Link to comment Share on other sites More sharing options...
Jesus Nieto Posted January 6, 2018 Author Share Posted January 6, 2018 On 21/12/2017 at 7:02 AM, f1480187 said: // Primitive wrangle. int pts[] = sort(array(i@cellpt, i@clippt)); s@common = sprintf("%d-%d", pts[0], pts[1]); Seems it does the job. You can enable i@cellpt and i@clippt attributes in VF's "Attributes" tab. common_side.hipnc Wow, I had no clue you could do this from the VRF Node, very usefull, thank you! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.