Fuse all connected shapes #1701
-
Hi, I have a list of objects of type cadquery.occ_impl.shapes.Face. Many of these faces are connected but not all. Is there a way to fuse all connected faces? Just to be clear, my definition of connected faces is being able to traverse from one face to another. In the above image I would like to fuse faces [2,3,4,5,6] into a single shape. So the input list is 6 objects and the output list is 2 objects. I will then thicken the two objects in the output list to create a conformal coating. Any advice appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I can completely avoid this problem if I move the for loop upstream in the logic. So this question can be ignored. |
Beta Was this translation helpful? Give feedback.
I can completely avoid this problem if I move the for loop upstream in the logic. So this question can be ignored.