[Sw...] Posted May 20 Share Posted May 20 My scanned file comprises of a planar sheet. I have performed some of the actions mentioned below Fitting plane using all the points Flatness feature to get an idea about the maximum and minimum deviation Now, since I have the values, how do I specifically view the part of my sheet having max distance and minimum distance? Link to comment Share on other sites More sharing options...
[Na...] Posted May 20 Share Posted May 20 Hi, you can check the result with I-Inspect (hold CTRL when clicking) or via the menu to create min/max labels. Link to comment Share on other sites More sharing options...
[Sw...] Posted May 22 Author Share Posted May 22 (edited) Thank you so much Please sign in to view this username. for the help Another doubt that I have would be to calculate the rms value of the entire sheet. How do I calculate it, Does Zeiss inspect have an inbuilt feature? If so, how do I do it? If not, can I export all the deviation values on a .csv file and calculate by myself? If so, how do I do it? Edit: I do see the option for standard deviation, which would be the rms from the mean points(the fitting plane), but what I want to understand is, is the surface rms of my scanned file should be calculated from the mean or the actual CAD file? If from the CAD file, how do I do it? Edited May 22 Link to comment Share on other sites More sharing options...
[Na...] Posted May 22 Share Posted May 22 Hi, you can calculate the root mean square of a surface comparison with a user defined check: sqr(avg(pow(inspection.value,2),index='geometry')) It is also possible to export deviation values as ASCII: https://techguide.zeiss.com/en/zeiss-inspect-2025/article/cmd_sys_export_ascii.html Nanno Link to comment Share on other sites More sharing options...
[Sw...] Posted May 22 Author Share Posted May 22 Hi, As instructed I executed the same function. I am getting this error. Kindly guide me to solve Link to comment Share on other sites More sharing options...
[Na...] Posted May 22 Share Posted May 22 Hello, this might not work for flatness checks and it looks like you are using the free version, which does not support user defined checks anyways. Nanno Link to comment Share on other sites More sharing options...
[Sw...] Posted May 22 Author Share Posted May 22 Hey Please sign in to view this username. Thank you for the response. Some more doubts to clarify and images below can give you an idea. Scanned .stl file (grey) Reference CAD .stl file (teal) The aim is to achieve the best alignment possible for the two files. After referring to some of the videos available online, I am unable to pre align the two models in any orientation that I try to keep. How do I resolve this? Kindly guide me, what would be the procedure to attain the best alignment? Link to comment Share on other sites More sharing options...
[Sw...] Posted May 27 Author Share Posted May 27 Hi Please sign in to view this username. Apologies for tagging you again but it would be great help if you can guide me and walk me through the right steps for the above problem that I mentioned. Link to comment Share on other sites More sharing options...
[Na...] Posted May 27 Share Posted May 27 Hi, if the prealignment cannot be computed, please use a manual initial alignment like 3-2-1. or 3-point-alignment. I think the geometry has not enough features in every direction for the prealignment. Link to comment Share on other sites More sharing options...
[Sw...] Posted June 11 Author Share Posted June 11 Hi Please sign in to view this username. Referring to the doubt for calculating the RMS. I now am using a company account with a license, but now the issue persists with the error "The element does not support points". Kindly guide me on how can I fix this issue and proceed ahead? Refer the image below. Link to comment Share on other sites More sharing options...
[Sw...] Posted June 12 Author Share Posted June 12 Hi Please sign in to view this username. Apologies for tagging you again, but if you could help me resolve the above issue, that would be of great help. Let me know if there's anything that I need to post for better clarity? Link to comment Share on other sites More sharing options...
[Na...] Posted yesterday at 10:43 AM Share Posted yesterday at 10:43 AM Hi, if the user defined check does not support this geometry, you can calculate the value in the App editor with python. Nanno Link to comment Share on other sites More sharing options...
[Na...] Posted yesterday at 11:12 AM Share Posted yesterday at 11:12 AM # -*- coding: utf-8 -*- import gom import math def calculate_rms(values): squared_values = [x** 2 for x in values] mean = sum(squared_values) / len(values) rms = math.sqrt(mean) return rms values = gom.app.project.inspection['Plane 2.Flatness'].scalar_value rms_value = calculate_rms(values) print(rms_value) This is was me (and the AI 😉 ) came up with. Please check the result against your own calculations. You can insert the correct "values" element via F2. Please see the techguide on how to use the App editor ZEISS Quality Tech Guide and maybe the github documentation on scripted checks: Scripted checks — App Development Documentation 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
Sign In