I want a dimension to be the square root of 32, so I entered:
Sort(32 LU)
Now, the square root of 32=5.656854...
But the dimension I get is 2.227...
So, I try to play with the numbers a little to decipher what Inventor is doing. If I enter:
Sort(32 LU)*2
I get 11.314...
2.227*2 does not equal 11.314
However,
(√32)*2=11.313708...
This is the first time I have used equations that are more complicated than basic math. I am confused and would like some insight.
I suspect IV is converting units on you. I don't know what an LU is or what unit you're trying to use but when I type in sqrt(32) invnetor changes it from in to ul and gives me 2.227. If I type sqrt(32 in) I get 3.549 (and an error). If I put sqrt(32 in^2) I get 3.656 (and no error).
I sugest you use iLogic for complex equations.
Sort(32 LU) huh?
Maybe this is a language thing, but I think you meant sqrt(32ul)*1mm = 5.657mm
Can you attach the file here?
The CADWhisperer YouTube Channel
sorry I can't provide the exact answer you are looking for (or rather how to use it in this case), but if you were to multiply 2.227 X 2.54, you are near the 5.65....
Inventor does something to calcs and assumes all input data is centimeters (cm) IRC.
While this doesn't tell you exactly what you will need to do, hopefully utilizing 2.54 will help in some way...
@mrattray wrote:I suspect IV is converting units on you. I don't know what an LU is or what unit you're trying to use but when I type in sqrt(32) invnetor changes it from in to ul and gives me 2.227. If I type sqrt(32 in) I get 3.549 (and an error). If I put sqrt(32 in^2) I get 3.656 (and no error).
I sugest you use iLogic for complex equations.
I made an uber typo in my post. It was supposed to read:
sqrt(32 ul)
Regardless, you're getting the same result (2.227) that I am, and I don't understand where that solution comes from. The square root of 32 doesn't equal 2.227, it's 5.65685...
I'm just doing some basic geometry for a single part, and I don't understand why IV is giving me the solution it is.
Whatever unit IV is working in, the math shouldn't change.
Double click on the formulas for this one.
The document units are inches - the forumula is cm.
The conversion is correct.
Make sure you start from the correct template and make sure of your units.
The CADWhisperer YouTube Channel
What I usually do is use parameters and enter the expression sqrt(1*32) for the dimension
link to learn how to use parameters in inventor: https://www.youtube.com/watch?v=H8BYxra9PFM
Hopefully this was all figured out years ago.