Live model not displayed properly with error messages

Hi!
I am having a problem with a script that has been successfully uploaded to the library,

1- sometimes the view works and I can see the model with a couple of parameters adjusting the live model properly,

2- when changing certain parameters it only displays the shape diver logo with an error “solving the model took longer than the maximum allowed 10000 msec” or “results for these parameter values can not be displayed.”

3- when changing other parameters either:

  • a) it displays only the shape diver logo without the error message and without the live model
  • b) it displays the live model with missing geometries and no error message
  • c) it displays the live model with missing geometries with an error message “solving the model took longer than the maximum allowed 10000 msec”

***gh file size is about 611kb

img1: [model succesfully uploaded]

img2: [No model, shape diver logo, error message]

img3: [with the live model, certain parameters are turned off]

thank you in advance for the help!

If your definition takes around 10 seconds to compute, it is likely that it runs in the limits of your account, which is why you are seeing these errors and sometimes only getting partial results. I suggest you use Metahopper to check where your definition takes a long time, and check our youtube videos and blog article about optimizing your definition and reducing computation times.