[Ma...] Posted October 5, 2021 Share Posted October 5, 2021 Hi, Is it possible to make a difference between two distances? I have two distances (same dimension on 2 different points) and I want to measure the difference between this two distances. An example in photo. The result must be 0.01 (absolute value) Link to comment Share on other sites More sharing options...
[No...] Posted October 6, 2021 Share Posted October 6, 2021 You can use a user defined check (inspection menu -> check dimensions -> other -> user defined) Maybe there's an easier way, but I did it like this: Define two variables A and B of type 'Element' and select the two scalar dimensions of which you want to calculate the difference. In the field "Actual Expression" type this:A.actual_value - B.actual_value Link to comment Share on other sites More sharing options...
[Ma...] Posted October 14, 2021 Author Share Posted October 14, 2021 Thank you for your reply! Where I can define the two variables A and B? If I have two distances and I want to make the difference between them. Where I can define the variables? I need step by step (and what to select) explanation. Thank you in advance! Link to comment Share on other sites More sharing options...
[Na...] Posted October 14, 2021 Share Posted October 14, 2021 Hello Marco, the solution by Norbert seems right. Here is a picture of the check: When the check is done you can click on it (good practice is to chose a proper abbreviation and unit at the top of the dialog) and add the user defined check to I-Inspect in the properties tab. Chose "used like Distance". Then the check can be applied to another distance and a dialog will pop up, asking for "A" in the user defined check. When editing the check, a description can be defined instead of the character A. There is also a more complicated example in the Tech guide/direct help: https://techguide.gom.com/en/article/cmd_comparison_check_scalar_construct_user_defined.html Regards, Nanno Link to comment Share on other sites More sharing options...
[Ma...] Posted November 19, 2021 Author Share Posted November 19, 2021 I finally succeeded! Thank you very much! Link to comment Share on other sites More sharing options...
[Br...] Posted March 22 Share Posted March 22 I am trying to get the average of the two lengths shown and am unable to successfully do so with what is listed above, so thought I was try a more obvious route, to no avail, any help would be appreciated. Seems like this would be an easy one, but darned if it's not confusing to me upon attempt. Link to comment Share on other sites More sharing options...
[Na...] Posted March 25 Share Posted March 25 Hi Brian, for dimensions of the same type I would recommend to create an element group (ZEISS Quality Tech Guide) from them. The element group can be checked directly for statistical values of a certain check. Within a user defined check you have to access the element's correct tokens e.g. "A.actual.value" in the avg() function. Nanno Link to comment 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