RepairTools#

class ansys.geometry.core.tools.repair_tools.RepairTools(grpc_client: ansys.geometry.core.connection.GrpcClient)#

Repair tools for PyAnsys Geometry.

Overview#

find_split_edges

Find split edges in the given list of bodies.

find_extra_edges

Find the extra edges in the given list of bodies.

find_inexact_edges

Find inexact edges in the given list of bodies.

find_duplicate_faces

Find the duplicate face problem areas.

find_missing_faces

Find the missing faces.

find_small_faces

Find the small face problem areas.

find_stitch_faces

Return the list of stitch face problem areas.

Import detail#

from ansys.geometry.core.tools.repair_tools import RepairTools

Method detail#

RepairTools.find_split_edges(bodies: beartype.typing.List[ansys.geometry.core.designer.body.Body], angle: ansys.geometry.core.typing.Real = 0.0, length: ansys.geometry.core.typing.Real = 0.0) beartype.typing.List[ansys.geometry.core.tools.problem_areas.SplitEdgeProblemAreas]#

Find split edges in the given list of bodies.

This method finds the split edge problem areas and returns a list of split edge problem areas objects.

Parameters:
bodiesList[Body]

List of bodies that split edges are investigated on.

angleReal

The maximum angle between edges.

lengthReal

The maximum length of the edges.

Returns:
List[SplitEdgeProblemAreas]

List of objects representing split edge problem areas.

RepairTools.find_extra_edges(bodies: beartype.typing.List[ansys.geometry.core.designer.body.Body]) beartype.typing.List[ansys.geometry.core.tools.problem_areas.ExtraEdgeProblemAreas]#

Find the extra edges in the given list of bodies.

This method find the extra edge problem areas and returns a list of extra edge problem areas objects.

Parameters:
bodiesList[Body]

List of bodies that extra edges are investigated on.

Returns:
List[ExtraEdgeProblemArea]

List of objects representing extra edge problem areas.

RepairTools.find_inexact_edges(bodies: beartype.typing.List[ansys.geometry.core.designer.body.Body]) beartype.typing.List[ansys.geometry.core.tools.problem_areas.InexactEdgeProblemAreas]#

Find inexact edges in the given list of bodies.

This method find the inexact edge problem areas and returns a list of inexact edge problem areas objects.

Parameters:
bodiesList[Body]

List of bodies that inexact edges are investigated on.

Returns:
List[InExactEdgeProblemArea]

List of objects representing inexact edge problem areas.

RepairTools.find_duplicate_faces(bodies: beartype.typing.List[ansys.geometry.core.designer.body.Body]) beartype.typing.List[ansys.geometry.core.tools.problem_areas.DuplicateFaceProblemAreas]#

Find the duplicate face problem areas.

This method finds the duplicate face problem areas and returns a list of duplicate face problem areas objects.

Parameters:
bodiesList[Body]

List of bodies that duplicate faces are investigated on.

Returns:
List[DuplicateFaceProblemAreas]

List of objects representing duplicate face problem areas.

RepairTools.find_missing_faces(bodies: beartype.typing.List[ansys.geometry.core.designer.body.Body]) beartype.typing.List[ansys.geometry.core.tools.problem_areas.MissingFaceProblemAreas]#

Find the missing faces.

This method find the missing face problem areas and returns a list of missing face problem areas objects.

Parameters:
bodiesList[Body]

List of bodies that missing faces are investigated on.

Returns:
List[MissingFaceProblemAreas]

List of objects representing missing face problem areas.

RepairTools.find_small_faces(bodies: beartype.typing.List[ansys.geometry.core.designer.body.Body]) beartype.typing.List[ansys.geometry.core.tools.problem_areas.SmallFaceProblemAreas]#

Find the small face problem areas.

This method finds and returns a list of ids of small face problem areas objects.

Parameters:
bodiesList[Body]

List of bodies that small faces are investigated on.

Returns:
List[SmallFaceProblemAreas]

List of objects representing small face problem areas.

RepairTools.find_stitch_faces(bodies: beartype.typing.List[ansys.geometry.core.designer.body.Body]) beartype.typing.List[ansys.geometry.core.tools.problem_areas.StitchFaceProblemAreas]#

Return the list of stitch face problem areas.

This method find the stitch face problem areas and returns a list of ids of stitch face problem areas objects.

Parameters:
bodiesList[Body]

List of bodies that stitchable faces are investigated on.

Returns:
List[StitchFaceProblemAreas]

List of objects representing stitch face problem areas.