search_zonelets_by_quality#

SurfaceSearch.search_zonelets_by_quality(part_id, face_zonelets, register_id, params)#

Search face zonelets with the provided quality parameters and applies register id on face elements found.

Parameters:
part_idint

Id of the part.

face_zoneletsIterable[int]

Ids of the face zonelets whose element search is performed.

register_idint

Id used to register face elements found by the search.

paramsSearchByQualityParams

Quality parameters used to search face elements.

Returns:
SearchByQualityResults

Returns the SearchByQualityResults.

Return type:

SearchByQualityResults

Examples

>>> surf_search = prime.SurfaceSearch(model=model)
>>> results = surf_search.search_zonelets_by_quality(part_id, face_zonelets, register_id, prime.SearchByQualityParams(model=model))