Failure with a OP boolean subtraction

Matthew380
Matthew380 Member Posts: 50 ✭✭

So I am working on a project that auto lofts something to a shape or point without 2 surfaces, and when I did remove in the part studio, it would not merge with the boolean:

image.png

However, at the same time, there are no error messages and nothing that says anything is incorrect. I also tried to see if the IF statement just wasn't working, but I checked tha,t and it goes through the statement

image.png

What is happening?

Here is the document:

https://cad.onshape.com/documents/94e2ca3c499ecbba9ccfafe6/w/c35c00116423894cfa81ae88/e/1fd4bc6d010a97fc9bf50bf5

Tagged:

Best Answer

  • NeilCooke
    NeilCooke Moderator, Onshape Employees Posts: 6,116 image
    Answer ✓

    It is working, you just need to delete Part 2 - don't assume that subtraction removes the tools.

    Senior Director, Technical Services, EMEA

Answers

  • Caden_Armstrong
    Caden_Armstrong Member Posts: 467 PRO

    What error are you seeing?
    The feature seems to be working just fine.

    Learning to debug might help you solve your issues.
    I wrote a blog with some tips and tricks on how to debug, functions like AddDebugEntities and debug arrows can be really helpful.
    https://www.smartbenchsoftware.com/post/a-quick-guide-to-debugging-featurescript

    www.smartbenchsoftware.com --- Renaissance --- Kestrel -- SmartLink
    Experts in Onshape Automation - Custom Features and Integrated Applications
  • Matthew380
    Matthew380 Member Posts: 50 ✭✭

    I said no error was showing it just would never merge the parts together:

    image.png
  • NeilCooke
    NeilCooke Moderator, Onshape Employees Posts: 6,116 image
    Answer ✓

    It is working, you just need to delete Part 2 - don't assume that subtraction removes the tools.

    Senior Director, Technical Services, EMEA