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.

Non-manifold geometry, how to solve?

viamarkableviamarkable Member Posts: 10 EDU
Hi- I'm in the process of writing a featurescript and want to booleanUnion several parts together. However, no matter what I try, I keep getting an error, saying that the boolean failed because of a non-manifold geometry result. I'm interpreting this as the boolean would've resulted in an unreal object, but I don't understand why that is happening/how to fix it. I'm totally stuck, and my limited knowledge doesn't help!

Here's my document, if someone wants to poke around: https://cad.onshape.com/documents/526d038b98a28fdcb20dfa41/w/54b6f21c62fce1ec0fb84245/e/0d2432d11fa3e95c8c667e26?renderMode=0&uiState=66aeb7570ca3d416ff4aa11e

Thank you!

Comments

  • GregBrownGregBrown Member, Onshape Employees, csevp Posts: 211
    edited August 4
    In order to look at what you've done in stages just add
    return;
    say at line 254, you'll see the initial thin extrude leaves some small gaps you may not have intended?

    Then if you delete the previous return and add it back at line 318... then you'll see where Part 1 meets Part 6 in a knife edge that will fail (correctly) as non-manifold. 

    You'll therefore need to fix the extrude you are creating at line 247 to avoid this situation.


    Image showing knife edge between Part 1 (highlighted) and Part 6



    Hints:
    - when you are debugging make sure to take advantage of the Debug function! 
    e.g. try  this at line 254:
    debug(context, qCreatedBy(id + "extrudeSample", EntityType.BODY), DebugColor.MAGENTA);

    then edit your feature...
Sign In or Register to comment.