VolumeMeshParams
Parameters for converting surfaces to volume meshes.
Import
import ScriptingApi as api
# Create parameter instance
params = api.VolumeMeshParams()
Properties
output_element_type_to_quadratic_10_node
Generate 10-node quadratic tetrahedra instead of 4-node linear.
Type: bool
resolution
Quality resolution preset for Auto3D (VeryCoarse to VeryFine, or Custom). Usage example: VolumeMeshParams.resolution = api.VolumeMeshResolution.Moderate
Type: Resolution
max_element_size
Maximum global mesh size for Auto3D (used when resolution is Custom).
Type: float
min_element_size
Minimum global mesh size for Auto3D (used when resolution is Custom).
Type: float
growth_rate
Mesh growthRate for Auto3D: 0.0-1.0 (0 = uniform mesh, 1 = aggressive local growthRate).
Type: float
limit_min_h_to_min_edge_length
Limit minimum mesh size to minimum edge length (Auto3D).
Type: bool
optimize_surface
Enable surface remeshing before volume meshing (Auto3D).
Type: bool
surface_opt_steps
Number of surface mesh optimization steps (Auto3D).
Type: int
volume_opt_steps
Number of volume mesh optimization steps (Auto3D).
Type: int
sampling_rate
Sampling rate for Grid3D (greater than 1 preserves small details, less than 1 produces coarser meshes).
Type: float
feature_scaling
Feature scaling for Grid3D (greater than 1 produces coarser meshes, less than 1 increases resolution).
Type: float
rate_of_change_of_element_size
Rate of change of element size for Grid3D (1 = uniform).
Type: float
sigma
Gaussian sigma for Grid3D to remove artifacts from input.
Type: float