Jump to content

Select by Value - relate to mesh


---
 Share

Recommended Posts

Hi

I am trying to isolate areas of mesh that are proud / material-on relative to a surface. 

While I can select by value on the surface inspection I cannot currently 'transfer' that selection onto the mesh. Restore point selection relates to the colour map itself and not any subsequent 'sub-selection'. 

Are there any tools that I am missing, or a scription method to transfer this selection?

 

Greatly appreciate any help

 

image.png.62e7ce650fc168eff98053e554eb20e2.png

 

image.png.a90d521d9b7cb17d532218c54602ab30.png

 

image.png.58ff7affa3f323f0e7526bc3f0a5332e.png

Link to comment
Share on other sites

Hello Quintus,

there are more selection options under 

Edit --> selection in 3D.

You can also pull them in the Quick bar.

image.png.079114ee8e4ff3b5f08c9a16a27c4b31.png

 

After reading a little bit thourougvher again and trying it out:

I can`t answer your question 🙂

 

 

Edited
Link to comment
Share on other sites

I think it's not possible to transfer the selection of an element to another. Additionaly, a selection made on a surface comparison is different from a normal selection. For instance, normal selections can be copied to the clipboard, while surface comparison selections cannot.

I guess if there is a way to do it, it will probably be by scripting. Some time ago I needed to transfer the deviation labels of one comparison to another. The support showed me a way to do it by scripting. Unfortunately I very rarely use scripting, so I don't know if something like that can be done with selections too.

Link to comment
Share on other sites

Hi,

maybe creating a surface defect element from this helps:

ZEISS Quality Tech Guide

It can also be classified and checked for area, max. deviation etc.. It is also possible to filter by size and other parameters, so tiny areas are not taken into account for example. A defect element can be exported as STL if you need it as a mesh.

Could you also describe why you need this function and what is the application behind this? We could record it as a wish and implement it into the software or there is another approach to the problem.

Nanno

 

Link to comment
Share on other sites

Maybe if you use "select above plane" and invert the selection, you get something similar to "select by value" at least for flat surfaces.

Link to comment
Share on other sites

Thanks for your responses / suggestions.

 

I am looking to find material proud of a free-form surface and then extract the 3d coordinates of that material for downstream machining operations. 

The percentage of the surface that may have material on can vary significantly as well as the size and shape of the added material. Unfortunately surface defect relies on a high proportion of surrounding 'good' or 'defect free' material in addition to a consistent defect size to work parametrically in any reliable manner. 

 

I suspect a scripted 'transfer' to mesh or coordinate extraction is the way forward. 

 

Link to comment
Share on other sites

You can obtain a point of max deviation of freeform - from there you can have XYZ.

I am not sure what exactly will suit into your puzzle.

Link to comment
Share on other sites

Please sign in to view this username.

, the defect element can be created from a surface comparison (I guess your screenshot is a surface comparison?). 

Via script you could get the selection on the surface comparison similar to this FAQ: Frequently asked questions — App Development Documentation

# -*- coding: utf-8 -*-

import gom
import numpy as np


print(gom.app.project.inspection['Surface comparison 1'].selection.coordinate)
# Output: gom.Array (element=gom.app.project.parts['Training Object'].actual.selection.coordinate, shape=(1, 1343, 3))
#gom.app.project.inspection['Surface comparison 1']

selection = np.array(gom.app.project.inspection['Surface comparison 1'].selection.coordinate)
print(selection)

 

Link to comment
Share on other sites

 Share

×
×
  • Create New...