unable to change expression in parameter dialog box

unable to change expression in parameter dialog box

Anonymous
Not applicable
1,004 Views
7 Replies
Message 1 of 8

unable to change expression in parameter dialog box

Anonymous
Not applicable

Hi there,

 

I have encountered issue when I try to edit the expression in the parameter dialog box, and it prompts "units do not evaluate", where there is no unit in my expression. Please help! I truly appreciate it 🙂 

 

 

It also prompts error when I tried to multiply my ctr_R with my cap_a together, and my guess is Fusion360 expects millimeter instead of millimeter * millimeter, so I divide everything by a variable called 'dumb' which has value of 1..Am I doing/understanding this correctly?

 

Thanks,

Jason

0 Likes
1,005 Views
7 Replies
Replies (7)
Message 2 of 8

Anonymous
Not applicable

A new problem arose.. I tackled it with user parameters to get rid of the units, but after I put everything in, it won't compute..

 

As you can see from the screenshot, the value for X is clearly not 1440, and no matter what value I give for ctr_R, X is not changing..!

 

please help, thanks!

0 Likes
Message 3 of 8

TrippyLighting
Consultant
Consultant

I am not sure this is related, but you also have an icon in the timeline highlighted in yellow. That's a warning sign that something is wrong with that object.

You should take care of that before attempting to do further calculations.

Unless, of course it turns yellow as a result of a failed calculation. 

 

Either way, it's worth checking that out.


EESignature

0 Likes
Message 4 of 8

HughesTooling
Consultant
Consultant

Can you export the design as an f3d file and attach to this thread.

 

Mark

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


0 Likes
Message 5 of 8

HughesTooling
Consultant
Consultant

I think I've found the problem, I thought I test using just numbers to make it easy to set up. What I found is ^ doesn't work if the base is a negative number and the exponent is less than 1.

This works.

Clipboard02.png

 

But with a negative base it doesn't.

Clipboard01.png

If you change 0.5 to 2 for example it works.

 

Mark

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


0 Likes
Message 6 of 8

Anonymous
Not applicable

but my values are all positive, and I think the reason why it doesn't work when the base is negative is because the base of ^0.5 has to be greater than zero. I have attached my f3d file here and I appreciate you guys' help!

0 Likes
Message 7 of 8

HughesTooling
Consultant
Consultant

I miss read but in your equation you have (1-cap_a*cap_a) which is -35 so your expression was 2*20*(1-36)=-1400.   So that's -1400^0.5 I'm not sure what you've got in the second screen shot and file. Also I can't get it to work with parameters in mm but here's an example with unitless parameters.

Capture5.PNG

 

 

So you have 2 problems, one setting your equation up using mm parameters and two -1400^0.5 will not work because the base is negative.

 

Mark

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


0 Likes
Message 8 of 8

HughesTooling
Consultant
Consultant

If I change your expression to 71 - cap_a^2 so you get 35 instead of -35 I get this. See parameter test and Test2.

 

Capture5.PNG

 

Mark

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


0 Likes