FuseParams#

class ansys.meshing.prime.FuseParams(model=None, use_absolute_tolerance=None, gap_tolerance=None, side_tolerance=None, check_interior=None, fuse_option=None, check_orientation=None, dump_mesh=None, local_remesh=None, n_layers=None, separate=None, angle=None, fuse_edges_only=None, json_data=None, **kwargs)#

Parameters for fuse operation.

Parameters:
model: Model

Model to create a FuseParams object with default parameters.

use_absolute_tolerance: bool, optional

Option to use absolute tolerance value. The default value is false. When use absolute tolerance is true, gap tolerance and side tolerance provided are absolute values.

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

gap_tolerance: float, optional

Gap tolerance between faces to be fused. The default value is 0.05.

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

side_tolerance: float, optional

Side tolerance for fusing to the side edges.

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

check_interior: bool, optional

Option to check the interior nodes. The default value is false. When check interior is true, checks all nodes including boundary edge nodes and nodes inside the faces.

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

fuse_option: FuseOption, optional

Option for treatment of fused surfaces. The default value is None.

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

check_orientation: bool, optional

Option to check the face normal orientation during fuse operation. The default value is true. When check orientation is true, face normal orientation is checked during fuse operation.

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

dump_mesh: bool, optional

Option to save mesh for debugging. The default value is false. When dump mesh is true, mesh is saved for debugging.

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

local_remesh: bool, optional

Option to remesh the fused region. The default value is true. When local remesh is true, local remeshing of fuse region is performed.

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

n_layers: int, optional

Face layers around region to be fused. The default value is 2.

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

separate: bool, optional

Option to separate fused regions. The default value is false. When separate is true, the fuse regions are separated into different zonelets.

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

angle: float, optional

Faces zonelets with angle less than the provided value are considered for fuse operation. Default value is 45 degrees.

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

fuse_edges_only: bool, optional

Option to fuse edges. The default value is false. When fuse edges only is true, only edges are fused.

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

json_data: dict, optional

JSON dictionary to create a FuseParams object with provided parameters.

Examples

>>> fuse_params = prime.FuseParams(model = model)

Methods

FuseParams.print_default()

Print the default values of FuseParams object.

FuseParams.set_default([...])

Set the default values of the FuseParams object.

Attributes

FuseParams.angle

Faces zonelets with angle less than the provided value are considered for fuse operation.

FuseParams.check_interior

Option to check the interior nodes.

FuseParams.check_orientation

Option to check the face normal orientation during fuse operation.

FuseParams.dump_mesh

Option to save mesh for debugging.

FuseParams.fuse_edges_only

Option to fuse edges.

FuseParams.fuse_option

Option for treatment of fused surfaces.

FuseParams.gap_tolerance

Gap tolerance between faces to be fused.

FuseParams.local_remesh

Option to remesh the fused region.

FuseParams.n_layers

Face layers around region to be fused.

FuseParams.separate

Option to separate fused regions.

FuseParams.side_tolerance

Side tolerance for fusing to the side edges.

FuseParams.use_absolute_tolerance

Option to use absolute tolerance value.