Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

Options

How can I see if a Boolean subtract has modified an object?

monroe_weber_shirkmonroe_weber_shirk Member Posts: 96 EDU
edited June 2023 in FeatureScript
I am passing a pipe with some fittings through a concrete wall and I need to know which of the pipes and fittings are going to be embedded in the concrete. One approach is to use the Boolean subtract with each pipe/fitting one at a time. Then I need a method to see if the concrete wall has been modified after each Boolean subtract. How can I check to see if the pipe or fitting actually modified the wall?

I'm also open to completely different approaches such as the method used by the interference check. However, I understand that code isn't available...

Comments

  • Options
    Evan_ReeseEvan_Reese Member Posts: 2,066 PRO
    It sounds like it might be a job for evCollision() I think it would be able to find all of those intersections easier than boolean. I think it's how the Extrude feature knows which parts to add to the merge scope automatically. Booleans are computationally expensive, and I'd bet this is much faster. All that said, I've not actually used the function yet, so I could have the wrong idea.
    Evan Reese / Principal and Industrial Designer with Ovyl
    Website: ovyl.io
  • Options
    monroe_weber_shirkmonroe_weber_shirk Member Posts: 96 EDU
    Evan, thank you! evCollision is exactly what I needed. 
Sign In or Register to comment.