My featureScript is too heavy to run.

nikita_gamygin
nikita_gamygin Member Posts: 2 ✭

You can look at the (barely) loading version here: https://cad.onshape.com/documents/bef045fe73487a9ed703a7f5/v/2d524bcf816046056b7d046d?showReturnToWorkspaceLink=true

This script turns a wing model into a 3d-printable half-hollow model.

I'm trying to run this on a wing that's 70cm in length and about 20cm in width (span and chord). When I run this script if I do it with lightenWebs turned off it barely renders, but if I turn it up (which is the goal) it just doesn't load. I know this is just a complexity problem (not 100% sure but still) because I've already tested the script on a test object.

Is there a way to get more computing power? I'm ok with paying (as long as it's not too much).

Tagged:

Comments

  • MichaelPascoe
    MichaelPascoe Member Posts: 2,955 PRO

    There is not, Onshape uses AWS not your local machine for the main generation and all Onshape tiers use pretty much the same set up.

    Here is a profile of your script, feed this to your llm. It looks like possibly your boolean operations are not being used efficiently or correctly:

    image.png

    RENDERCAD - Photorealistic product rendering.
    CADSharp - Professional CAD + software consulting.

    ▚▞▚▞▚▞▚▞▚