Bundle import

Bundle import

t_tkacp
Alumni Alumni
538 Views
2 Replies
Message 1 of 3

Bundle import

t_tkacp
Alumni
Alumni

Hi forum,


I'm trying to import objects (hmm.. models?) from Json file. I create sketches, extrude those sketches and place models at desirable position. It works well when I'm doing it with small amount of objects. But when I try to import alot of objects (500+) creating speed goes down. It works terribly slow. I think that is because Fusion calls re rendering/updating geometry after each action. I tried to hide components, but that does not help.
So, is there any way to turn off geometry update? Could we create all models that we want and show it only in the end?


Regards,
Pavel.

0 Likes
Accepted solutions (1)
539 Views
2 Replies
Replies (2)
Message 2 of 3

ekinsb
Alumni
Alumni
Accepted solution

I've been working on a similar program and have seen some performance issues.  I don't believe it's because of the model update though.  I can't be more specific at this point because I don't know specifically what the cause is without doing a lot more testing.

 

Here's one thing to look at though that can significantly improve performance is your sketches are relatively big.  There is a property on the Sketch called isComputeDeffered.  Setting that to True on your sketch before you start creating geometry and then turning it off after the sketch is built will reduce the amount of time to create the sketch.  In this case, Fusion is doing a lot of computing behind the scenes as each sketch entity is created (solving constraints and checking for any possible profiles).  Setting this property turns off that computing.


Brian Ekins
Inventor and Fusion 360 API Expert
Mod the Machine blog
0 Likes
Message 3 of 3

t_tkacp
Alumni
Alumni

Hi Brian,

 

Thank you a lot for telling me about `isComputeDeffered` parameter. It really helps. Before it tooks 115 seconds to create 100 elements. And now it takes only 45.

 

Regards,
Pavel.

0 Likes