hello all. im looking for a way to test if an object is inside another object and then if it is, run a boolean difference command on it. for this example if you look at the q’s. I would like to find the inner part and take it out of the outer part making it appear as the letter should. of the baked examples the bottom Q is what im trying to achieve as a final product.
230125_letter-voids.gh (4.7 KB)
230125_letter-voids.3dm (5.9 MB)
I’m not sure I understand your description… Maybe Region Union?
P.S. Reading it again, maybe Boundary Surface before extrude?
this is exactly what the end result should be, but this only works when you have curves like in the example. in other examples ill only have solid objects.
Please provide the other examples?
The curves in your file produce the desired results if you do as @Joseph_Oster suggested.
Boundary Surfaces then Extrude
230125_3D_Letters.gh (7.6 KB)
-Kevin
How about this? It’s messy, the results are two branches, but it doesn’t depend on the curves.
Correction: it depends on the sequence of curves.
letter-voids_2023Jan26b.gh (50.2 KB)
Curves are internalized, no need for Rhino file.
Fixed that. See the Jitter that scrambles the sequence of “solid objects”.
letter-voids_2023Jan26c.gh (57.8 KB)
this is great. thank you! do you need the jitter? seems to work the same if you run the cap into the brep.
No, Jitter is not needed. The point of jitter is to scramble the sequence and still get good results. That wasn’t the case in my previous version (‘b’), which depended on the sequence of curves from the letters in which colliding extrusions were always adjacent to each other in the list.