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.

Optimizing performance for repairing imported part

BenTaylorBenTaylor Member Posts: 43 PRO
I downloaded a shoulder screw from McMaster and am repairing it to remove the modeled knurling (link to the part studio). I set up different configurations with different techniques of removing the knurls, and they showed some interesting results. The repair reduced the number of primitives from 11,110 to 4,928, going from 422 to 26 faces (quite a significant improvement). 

My tab regeneration times:
  • Import only: 32 ms
  • Revolving a sketch around: 195 ms
  • Deleting faces (by healing): 83 ms
  • Deleting faces (by capping): 94 ms
  • Extruding a face to a mate connector: 195 ms
  • Extruding that face blindly: 224 ms
I'm curious why the operations I'd consider "simpler" (Revolve & Extrude) take significantly longer. Also wondering if anyone can find an even faster method.
Ben Taylor
Lead Mechanical Engineer @ Healing Innovations
Onshape Ambassador

Comments

  • TimRiceTimRice Member, Moderator, Onshape Employees Posts: 315
    edited June 2021
    I would guess the extra time in Revolve/Extrude is caused by using the boolean command. Generally for complex faces like this a boolean is less performant as it needs to calculate the intersections. But that is from my FS experience and a more knowledgeable modeling team member may have a more accurate answer :smile:

    Tim Rice | User Experience | Support 
    Onshape, Inc.
  • Evan_ReeseEvan_Reese Member Posts: 2,060 PRO
    I always favor delete/heal where I can. Tim is right, the boolean operations are what makes any solid modeling techniques heavier. I think delete/cap is a tiny bit slower because it has to still calculate and create new geometry, whereas heal just untrims the underlying faces and all of the math is already there. The only way I can think to speed up the rebuild time is to export the modified model and re-import it. I'm getting 29 seconds with that, but it's clearly a kludgy labor-intensive method if you have a lot of hardware (which I happen to know you definitely do :smiley:).



    Evan Reese / Principal and Industrial Designer with Ovyl
    Website: ovyl.io
Sign In or Register to comment.