Jump to content

How to view the point of Max Distance and Min Distance specifically?


Recommended Posts

My scanned file comprises of a planar sheet.

I have performed some of the actions mentioned below

  1. Fitting plane using all the points
  2. 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?

image.png.2126207d1548455ed63e08099f3ea7c3.png

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, 

  1. Does Zeiss inspect have an inbuilt feature? If so, how do I do it?
  2. 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:

  1. 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

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'))

image.thumb.png.c28ea27fc1e2ed345fb6b41ef57f8e92.png

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

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.

  1. Scanned .stl file (grey) 
  2. Reference CAD .stl file (teal)
  3. The aim is to achieve the best alignment possible for the two files.
  4. 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. 
  5. How do I resolve this?
  6. Kindly guide me, what would be the procedure to attain the best alignment?

image.png.cae58cbbf509baaf32503afb29a629de.pngimage.png.9b6fc1776c58053cedea4079cbce0127.png

  • 2 weeks later...

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.

image.thumb.png.d2c50d887c1947e9ad83d5ec55aed30c.png

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?

# -*- 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

 

image.thumb.png.80adeb21e6db933601c2c2bfefde49b3.png

image.thumb.png.c5622df74622c3e2f0ed8ba1711152dd.png

  • 4 weeks later...

Thank you so much for the help

Please sign in to view this username.

.


Another doubt would be, Below image shows a scanned file of a paper tile(grey region) on a surface. The aim is to find out the thickness of this paper tile i.e., the height from the reference surface which in our case would be the bottom surface.

  • I have constructed a best fitting plane using the bottom surface only (marked in red).
  • Now, I want to check the vertical distance of each point on the paper from the surface(as you can see wrinkles are present which will lead to more value compared to regions with not having any wrinkle) similar to how we check for flatness. How do I do that?

image.png.9bca1da1642649f73f3bb383fbc11119.png

 

Edited

Hi,

you could use "deviation to geometry" for this:
https://techguide.zeiss.com/en/zeiss-inspect-2025/article/cmd_comparison_create_deviation_to_geometry.html

The display works best with legend template "Material thickness".

image.thumb.png.b2f96de660f2bdfbbb2aa1145146cebf.png

There is also the material thickness (https://techguide.zeiss.com/en/zeiss-inspect-2025/article/cmd_comparison_create_multiple_material_thickness.html), but it does not calculate the distance against a fitting plane but from opposite surfaces.

 

Nanno

×
×
  • Create New...