Skip to main content

Prime Mesh Python client library 2024 R2

RepairTopologyParams

Last update: 17.07.2025

class ansys.meshing.prime.RepairTopologyParams(model=None, connect_faces=None, repair_edges=None, split_topo_edges_at_apex_point=None, fillet_max_radius=None, smallest_edge_length=None, merge_edge_allow_self_close=None, suppress_shared_edges_when_merging=None, edge_connect_type=None, connect_faces_params=None, repair_edges_params=None, json_data=None, **kwargs)

Parameters for repair topology operations.

  • Parameters: model: Model : Model to create a RepairTopologyParams object with default parameters.

    connect_faces: bool, optional : Option to connect faces.
    This is a beta parameter. The behavior and name may change in the future.

    repair_edges: bool, optional : Option to repair edges.
    This is a beta parameter. The behavior and name may change in the future.

    split_topo_edges_at_apex_point: bool, optional : Option to split edges at apex point.
    This is a beta parameter. The behavior and name may change in the future.

    fillet_max_radius: float, optional : Maximum radius of fillets to be detected.
    This is a beta parameter. The behavior and name may change in the future.

    smallest_edge_length: float, optional : Length of smallest edge for which split is applied.
    This is a beta parameter. The behavior and name may change in the future.

    merge_edge_allow_self_close: bool, optional : Option for merging self-closing edge loops.
    This is a beta parameter. The behavior and name may change in the future.

    suppress_shared_edges_when_merging: bool, optional : Option for suppressing shared edges when merging.
    This is a beta parameter. The behavior and name may change in the future.

    edge_connect_type: int, optional : Edge connection type.
    This is a beta parameter. The behavior and name may change in the future.

    connect_faces_params: ConnectFacesParams, optional : Parameters for connect faces operation.
    This is a beta parameter. The behavior and name may change in the future.

    repair_edges_params: RepairEdgesParams, optional : Parameters for repair edges operation.
    This is a beta parameter. The behavior and name may change in the future.

    json_data: dict, optional : JSON dictionary to create a RepairTopologyParams object with provided parameters.

Examples

>>> repair_topology_params = prime.RepairTopologyParams(model = model)

Methods

Name Description
RepairTopologyParams.print_default() Print the default values of RepairTopologyParams object.
RepairTopologyParams.set_default([...]) Set the default values of the RepairTopologyParams object.

Attributes

Name Description
RepairTopologyParams.connect_faces Option to connect faces.
RepairTopologyParams.connect_faces_params Parameters for connect faces operation.
RepairTopologyParams.edge_connect_type Edge connection type.
RepairTopologyParams.fillet_max_radius Maximum radius of fillets to be detected.
RepairTopologyParams.merge_edge_allow_self_close Option for merging self-closing edge loops.
RepairTopologyParams.repair_edges Option to repair edges.
RepairTopologyParams.repair_edges_params Parameters for repair edges operation.
RepairTopologyParams.smallest_edge_length Length of smallest edge for which split is applied.
RepairTopologyParams.split_topo_edges_at_apex_point Option to split edges at apex point.
RepairTopologyParams.suppress_shared_edges_when_merging Option for suppressing shared edges when merging.

Connect with Ansys