CADDiagnostic#
- Usage:
CADDiagnostic Class API Wrapper
- class CADDiagnostic[source]#
Bases:
objectWrapper for CADDiagnostic class of Moldflow Synergy.
- compute(bodies)[source]#
CAD quality assessment to identify any potential geometric issues in the CAD model. This function will identify potential geometric difficulties that may include : - edge-to-edge intersection - face-to-face intersection - edge self intersection - face self intersection - non-manifold bodies - non manifold edges - toxic bodies - sliver faces
- Parameters:
bodies (EntList) – The bodies to compute CAD diagnostics for.
- Return type:
bool- Returns:
True if operation is successful, False otherwise.
- get_edge_edge_intersect_diagnostic(edge_id_pair1, edge_id_pair2, intersect_coordinates)[source]#
Retrieves intersecting CAD edge-to-edge information
- Parameters:
edge_id_pair1 (IntegerArray) – The first set of edge identifiers
edge_id_pair2 (IntegerArray) – The second set of edge identifiers
intersect_coordinates (DoubleArray) – The intersected coordinates
- Return type:
bool- Returns:
True if operation is successful, False otherwise.
- get_edge_self_intersect_diagnostic(edge_id, intersect_coordinates)[source]#
Retrieves self-intersecting CAD edges
- Parameters:
edge_id (IntegerArray) – The edge identifiers
intersect_coordinates (DoubleArray) – The intersected coordinates
- Return type:
bool- Returns:
True if operation is successful, False otherwise.
- get_face_face_intersect_diagnostic(face_id_pair1, face_id_pair2, intersect_coordinates)[source]#
Retrieves intersecting CAD face-to-face information
- Parameters:
face_id_pair1 (IntegerArray) – The first set of face identifiers
face_id_pair2 (IntegerArray) – The second set of face identifiers
intersect_coordinates (DoubleArray) – The intersected coordinates
- Return type:
bool- Returns:
True if operation is successful, False otherwise.
- get_face_self_intersect_diagnostic(face_id, intersect_coordinates)[source]#
Retrieves self-intersecting CAD faces
- Parameters:
face_id (IntegerArray) – The face identifiers
intersect_coordinates (DoubleArray) – The intersected coordinates
- Return type:
bool- Returns:
True if operation is successful, False otherwise.
- get_non_manifold_body_diagnostic(body_id)[source]#
Retrieves CAD non-manifold bodies
- Parameters:
body_id (IntegerArray) – The body identifiers
- Return type:
bool- Returns:
True if operation is successful, False otherwise.
- get_non_manifold_edge_diagnostic(edge_id)[source]#
Retrieves non-manifold edges
- Parameters:
edge_id (IntegerArray) – The edge identifiers
- Return type:
bool- Returns:
True if operation is successful, False otherwise.
- get_sliver_face_diagnostic(face_id)[source]#
Retrieves sliver faces
- Parameters:
face_id (IntegerArray) – The face identifiers
- Return type:
bool- Returns:
True if operation is successful, False otherwise.
- get_toxic_body_diagnostic(body_id)[source]#
Retrieves toxic bodies
- Parameters:
body_id (IntegerArray) – The body identifiers
- Return type:
bool- Returns:
True if operation is successful, False otherwise.