CheckMeshResults#

class ansys.meshing.prime.CheckMeshResults(model=None, has_non_positive_volumes=None, has_non_positive_areas=None, has_invalid_shape=None, has_left_handed_faces=None, error_code=None, warning_codes=None, json_data=None, **kwargs)#

Result associated with the check mesh operation.

Parameters:
model: Model

Model to create a CheckMeshResults object with default parameters.

has_non_positive_volumes: bool, optional

Indicates whether mesh has non positive volumes.

has_non_positive_areas: bool, optional

Indicates whether mesh has non positive areas.

has_invalid_shape: bool, optional

Indicates whether mesh has invalid shape.

has_left_handed_faces: bool, optional

Indicates whether mesh has left handed faces.

error_code: ErrorCode, optional

Error code associated with the check grid operation.

warning_codes: List[WarningCode], optional

Warning codes associated with the check grid operation.

json_data: dict, optional

JSON dictionary to create a CheckMeshResults object with provided parameters.

Examples

>>> check_mesh_results = prime.CheckMeshResults(model = model)

Methods

CheckMeshResults.print_default()

Print the default values of CheckMeshResults object.

CheckMeshResults.set_default([...])

Set the default values of the CheckMeshResults object.

Attributes

CheckMeshResults.error_code

Error code associated with the check grid operation.

CheckMeshResults.has_invalid_shape

Indicates whether mesh has invalid shape.

CheckMeshResults.has_left_handed_faces

Indicates whether mesh has left handed faces.

CheckMeshResults.has_non_positive_areas

Indicates whether mesh has non positive areas.

CheckMeshResults.has_non_positive_volumes

Indicates whether mesh has non positive volumes.

CheckMeshResults.warning_codes

Warning codes associated with the check grid operation.