Hello
I encounter a really weird case with equations in Solidworks 2018 SP5. I may have fiddled with all this in all directions, but what my equations are turning back leaves me speechless and more than skeptical...
I'm turning to you because maybe you'll have an explanation for why I'm not doing the right thing...
In the image I attach, you will see that I did 2 tests with two global variables obtained differently: "diametre_bulbe" whose value 301 is obtained using a dimension from a sketch (lines 16 to 19) and "diametre_bulbe_mesure" whose value also 301 is this time obtained by directly using the measurement tool in the equations.
The idea is to use one of these global variables (the one that will work properly ;-) ) to be able to control whether or not to remove repeat functions.
You will see in the lines of the image I am attaching that I am doing different tests but that the results are amazing:
- With lines 17 and 21, we can conclude that "diametre_bulbe" and "diametre_bulbe_mesure" are greater than or equal to 300.999999999
- With lines 18 and 22, we can conclude that "diametre_bulbe" and "diametre_bulbe_mesure" are less than 301.00000001
- With lines 19 and 23, we can conclude that "diametre_bulbe" and "diametre_bulbe_mesure" do not seem to equal 301...
I thought it was a problem with the units but when I did some tests, it doesn't seem to be related.
I hope that my explanations above associated with the attached image allow me to understand my concern...
Hoping that someone among you will be able to put me on a track, explain to me... or support me in the pain I feel in front of this more than curious incoherence ;-)
Cédric.T
incoherence_valeur_variable_globale.png