FuseResults#

class ansys.meshing.prime.FuseResults(model=None, fused_pairs=None, fused_area=None, error_code=None, warning_codes=None, intersecting_locations=None, json_data=None, **kwargs)#

Results associated with the fuse operations.

Parameters:
model: Model

Model to create a FuseResults object with default parameters.

fused_pairs: int, optional

Number of face region pairs that were fused.

This is a beta parameter. The behavior and name may change in the future.

fused_area: float, optional

Total area of fused regions from both source and target faces.

This is a beta parameter. The behavior and name may change in the future.

error_code: ErrorCode, optional

Error code associated with failure of the fuse operation.

This is a beta parameter. The behavior and name may change in the future.

warning_codes: List[WarningCode], optional

Warning codes associated with the fuse operation.

This is a beta parameter. The behavior and name may change in the future.

intersecting_locations: Iterable[float], optional

Locations where the fuse operation did not remove self-intersections in the input. Each location corresponds to a patch of faces where self-intersections exist. The number of elements in intersecting locations are in multiples of three. For example, zero, three, six, nine, and so on. Each triplet corresponds to coordinates in x, y, and z. For example, if the intersecting locations contain (a, b, c, d, e, f), then (a, b, c) represent the first location and (d, e, f) represent the second location.

This is a beta parameter. The behavior and name may change in the future.

json_data: dict, optional

JSON dictionary to create a FuseResults object with provided parameters.

Examples

>>> fuse_results = prime.FuseResults(model = model)

Methods

FuseResults.print_default()

Print the default values of FuseResults object.

FuseResults.set_default([fused_pairs, ...])

Set the default values of the FuseResults object.

Attributes

FuseResults.error_code

Error code associated with failure of the fuse operation.

FuseResults.fused_area

Total area of fused regions from both source and target faces.

FuseResults.fused_pairs

Number of face region pairs that were fused.

FuseResults.intersecting_locations

Locations where the fuse operation did not remove self-intersections in the input.

FuseResults.warning_codes

Warning codes associated with the fuse operation.