stellarmesh.OCCSurfaceOptions

class OCCSurfaceOptions(*, tol_angular_deg: float | None = 0.5, tol_linear: float | None = None, min_mesh_size: float | None = None, algorithm: OCCSurfaceAlgo = OCCSurfaceAlgo.WATSON, relative: bool = False, parallel: bool = True)Source

OCC surface meshing options.

algorithm

The meshing algorithm to use. Defaults to WATSON.

Type:

stellarmesh.mesh.OCCSurfaceAlgo

tol_angular

Angular tolerance for meshing. Defaults to 0.5.

tol_linear

Linear tolerance for meshing. Defaults to None.

Type:

float | None

min_mesh_size

Minimum mesh size. Defaults to None.

Type:

float | None

relative

Whether to use relative tolerances. Defaults to False.

Type:

bool

parallel

Whether to use parallel meshing. Defaults to True.

Type:

bool