Extremely slow response when using expressions

Extremely slow response when using expressions

amcfarlen
Advocate Advocate
1,359 Views
7 Replies
Message 1 of 8

Extremely slow response when using expressions

amcfarlen
Advocate
Advocate

I've designed a master file of a fret board and I'm driving the dimensions and fret spacing with parameters and expressions. I build many different size of instruments and wanted an easy way to customize for my needs.

 

Simple things like width, lenght and height are now worries at all. And I can get the fret spacing to update with a formula.

 

The problem occurs after about the 15th fret in that for each fret afterwards the response time from Fusion becomes longer and longer. to the point of almost becoming  unusable. Right now I've input the espression for the 20th fret and the program is still working to resolve. Several minutes to input each letter or number into the expression while it mulls things over. I can't just type the string and have it accepted. And now that the last of the expression is input it's over 5 minutes at this point for it to accept and update.

 

The equation is this and increments for each fret.

 

(ScaleLenght-Fret1) / 17.817 + Fret1

 

I'm assuming this is just a math problem, but would have thought that it really wouldn't have been that big of a problem for the computers we are using today to resolve this in no time at all. I'm runing on an iMac with 24gigs of ram.

Allen R. McFarlen
Barron River Guitars & Ukuleles
Cairns, Australia



27" iMac | 3.1 Ghz Intel Core i5 | 20 Gb ram | OSX Sierra 10.12.6
0 Likes
1,360 Views
7 Replies
Replies (7)
Message 2 of 8

NicolasXu
Autodesk
Autodesk

Hi Allen,

 

Welcome to the community and thanks for reaching out to us.

 

Sorry to hear that you’re facing the problem. Do you mean changing the expression in the Parameter dialog or for a certain feature (Pattern?)? When changing an expression, Fusion needs to calculate the expression and update the relevant features.

 

Would it be possible to share the model with us for a deeper investigation? We’d like to take a closer look and see how we can improve it. You can either Export the entire file as .F3d format or Share Public Link with me by enabling the download permission. Both commands are available under the File menu.

 

My email address: lixiong.xu@autodesk.com

 

Best Regards,



Nicolas Xu
Sr. SQA Eng.
Fusion 360 Quality Assurance Team
Autodesk, Inc.
0 Likes
Message 3 of 8

amcfarlen
Advocate
Advocate
I just emailed you the share and the file.
Allen R. McFarlen
Barron River Guitars & Ukuleles
Cairns, Australia



27" iMac | 3.1 Ghz Intel Core i5 | 20 Gb ram | OSX Sierra 10.12.6
0 Likes
Message 4 of 8

NicolasXu
Autodesk
Autodesk

Hi Allen,

 

Thanks for sharing the file. I looked into the file. Yes, it seems to me that the issue is related to expression calculation. Fusion slows down when the reference chain gets bigger.

 

I have reported it to the development team to see how to improve it (Case ID: FUS-21712). The team has put lots of the effort to improve the performance. This case is a good catch to help us improving the product further!

 

Thanks again for all the information. 



Nicolas Xu
Sr. SQA Eng.
Fusion 360 Quality Assurance Team
Autodesk, Inc.
0 Likes
Message 5 of 8

amcfarlen
Advocate
Advocate
Thanks Nicolas. Hope they can do something with it.
Allen R. McFarlen
Barron River Guitars & Ukuleles
Cairns, Australia



27" iMac | 3.1 Ghz Intel Core i5 | 20 Gb ram | OSX Sierra 10.12.6
0 Likes
Message 6 of 8

Phil.E
Autodesk
Autodesk

Just tested the fix for this, looks great. These formulas will work for you soon with zero latency.

 

I'm not sure when this fix will be released, so please have some patience if the next update does not carry it. It is in the code, just needs to make it's way to you.





Phil Eichmiller
Software Engineer
Quality Assurance
Autodesk, Inc.


Message 7 of 8

Anonymous
Not applicable

Hi,

 

I've just encountered the exact same problem that Allen described, i.e. I have 24 equations in my user defined parameters that calculate the fret spacing from the nut (e.g.  Fret24  = ( ( ( ScaleLength - Fret23 ) / FretConstant ) + Fret23 )).  The problem cropped up when I started entering the 20th fret value where the closing of the Add User Parameter dialog took increasingly longer to respond.  Later, I was also getting extreme response times to operations involving these parameters - often exceeding 30 seconds.  For example, I wanted to show the position of the last fret in the sketch and it's relationship to the nut (the origin) and the 12th fret by way of a construction line and the Sketch Dimension feature, this caused Fusion to hang for about 30+ seconds.  

 

I have about 30-40 user parameters entered in this design most are simple constants while a couple are very simple additions or subtractions then there are 24 of them have a dependency on the previous one, i.e. Fret02 is dependent upon Fret01 and Fret18 is dependent upon Fret17 (as in the equation above).  I have an i5 PC with 16Gig Ram and a Radeon 6900 series card running 64bit Windows 10 Pro.  I note that the above formula was prototyped in another design back in August with no apparent issues, but having replicated them in a new design I'm now faced with something that is extremely challenging to use.

 

A resolution to this would be greatly appreciated.

 

Regards,

 

Sean.

0 Likes
Message 8 of 8

NicolasXu
Autodesk
Autodesk

Hi Sean,

 

Sorry to hear you have experienced the problem. I re-tested the design from Allen and it worked as expected. Would you share us your design so we can take a close look and see where the problem is?

 

You may post the design here or email it to me. (lixiong.xu@autodesk.com)

 

Best Regards,



Nicolas Xu
Sr. SQA Eng.
Fusion 360 Quality Assurance Team
Autodesk, Inc.
0 Likes