get_face_and_edge_connectivity#

MeshInfo.get_face_and_edge_connectivity(part_ids, params)#

Gets the connectivity of face and edge zonelets of the given part ids.

Connectivity result is used in graphics rendering.

Parameters:
part_idsIterable[int]

Ids of the part.

paramsFaceAndEdgeConnectivityParams

Parameters to get connectivity of face zonelets and edge zonelets.

Returns:
FaceAndEdgeConnectivityResults

Returns the FaceAndEdgeConnectivityResults.

Return type:

FaceAndEdgeConnectivityResults

Examples

>>> mesh_info = prime.MeshInfo(model)
>>> part_ids = [part.id for part in model.parts]
>>> result = mesh_info.get_face_and_edge_connectivity(part_ids,
>>>                  prime.FaceAndEdgeConnectivityParams(model =model))