[Br...] Posted August 21, 2018 Share Posted August 21, 2018 I am having trouble getting the result to display the actual difference between the two points in the Z direction. I need to show if the second point is above or below the first, with neither of the locations being my alignment Z “0”. If I use “Cartesian Distance” the result only shows the distance always as a positive number. If I look at the “actuals” in the feature I can see that the second point is below the first and I need it to be displayed as negative. Is there a different characteristic that I can choose? I have to believe there is an easy way to accomplish this, I’m just missing something. Thanks for any help you can give. Link to comment https://qualityforum.zeiss.com/topic/20460-getting-result-to-display-as-true-value-positive-or-negative-distance/ Share on other sites More sharing options...
[Br...] Posted August 21, 2018 Author Share Posted August 21, 2018 After walking away from this I might have come up with an answer to my own question. I could create a secondary alignment using the first point as the Z "0" for the second point. Then a simple Z value of point two would be either (+) or (-). There are 12 pairs of points to check this way so I would have to make an alignment for each pair. Not too bad I guess. If anyone has any better ide how to do this please let me know. Thanks. Link to comment https://qualityforum.zeiss.com/topic/20460-getting-result-to-display-as-true-value-positive-or-negative-distance/#findComment-115992 Share on other sites More sharing options...
[Pe...] Posted August 22, 2018 Share Posted August 22, 2018 Use a Result Element characteristic (Size > More > Result Element). Enter the formula getActual("Point2").z - getActual("Point1").z (Replace Point1 and Point2 with whatever your points are called, keep the quotes). Set your nominal and tolerances, and you should be good to go. Link to comment https://qualityforum.zeiss.com/topic/20460-getting-result-to-display-as-true-value-positive-or-negative-distance/#findComment-115994 Share on other sites More sharing options...
[Br...] Posted August 22, 2018 Author Share Posted August 22, 2018 Thank you Peter. That is exactly what I was looking for. Quicker and easier than what I was going to try. Thanks for the help. Link to comment https://qualityforum.zeiss.com/topic/20460-getting-result-to-display-as-true-value-positive-or-negative-distance/#findComment-115996 Share on other sites More sharing options...
[Er...] Posted August 22, 2018 Share Posted August 22, 2018 abs() ? Link to comment https://qualityforum.zeiss.com/topic/20460-getting-result-to-display-as-true-value-positive-or-negative-distance/#findComment-115998 Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in