I would like to combine multiple intersecting solids into one solid. (I have thousands of solids created by wall-duct intersections. In some cases would like to combine them)
1 intersects with 2
2 intersects with both 1 and 3
3 intersects with 4
4 intersects with 3
5
6
7 does not intersect anything.
I’ve checked a lot but couldn’t find a algorithm or a node for this kind of workflow.
Actually I was asking help for filtering and merging them.
I need to combine only intersecting solids. and if use only intersection I will get 4 intersections, and it will create 4 solids.
1st solid 1 and 2
2nd solid 1,2 and 3
3rd solid 2 and 3
4th solid 3 and 4
but I need only 1 solid.
in some cases maybe there will be 8 boxes side by side and intersecting each other, I want to get 1 solid.
I’ve tried list chop and does intersect nodes etc. but I couldn’t get the correct result
for example I have 9 solids, some of them intersects each other and i am trying to get (combine intersecting ones) 5 solids as a results. kulkul’s methods is not working for this.
Are you sure? I just tested your example .dyn and it worked. After Geometry.Intersection you need to group solids which is closest and replace Empty.Lists with the ones which doesn’t intersect in your example above (2,3,4).