merlino Posted December 1, 2015 Share Posted December 1, 2015 Hi, I'm trying to make an object explosion and I prefractured the object using the voronoi fracture node. Then I use the foreach to calculate the volume of every object and delete it if smaller then n. All works well, but if I enable the option "Add Interior Detail" when the geo passes through the foreach the point number and the prim number change (not the number of points) and I use it to delete the object ... Any idea why this is happening? Thanks in advance! Marco voronoi_fracturing_and_foreach.hipnc Quote Link to comment Share on other sites More sharing options...
merlino Posted December 1, 2015 Author Share Posted December 1, 2015 Well, I put a sort in both the wires, to make sure the numbering is consistent. I think this kind of solve the problem, but I still doesn't understand what is causing the problem when Add Interior Detail is enabled ... voronoi_fracturing_and_foreach_01.hipnc Quote Link to comment Share on other sites More sharing options...
wateryfield Posted December 4, 2015 Share Posted December 4, 2015 Well, I put a sort in both the wires, to make sure the numbering is consistent. I think this kind of solve the problem, but I still doesn't understand what is causing the problem when Add Interior Detail is enabled ... Without interior detail,you can see Geometry spreadsheet,the name attribute:piece.. was change with ptnum orderly. When turn on detail, the last piece name attribute was completely disordered. And the foreach loop was base on name attribute, so when out, the pt order was different form without foreach. 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.