Method ProxyMesh
ProxyMesh(OccurrenceList, double, ElementFilter, int, bool)
Replace the tessellations of the selected parts by a proxy mesh based on a voxelization
Declaration
public uint ProxyMesh(OccurrenceList occurrences, double voxelSize, ElementFilter elements = ElementFilter.Polygons, int dilation = 0, bool surfacic = false)
Parameters
Type | Name | Description |
---|---|---|
OccurrenceList | occurrences | Occurrences of part to process |
double | voxelSize | Size of voxels |
ElementFilter | elements | Type of elements used to detect the voxels, polygons or points or hybrid |
int | dilation | Dilation iterations on the voxel grid (only if surfacic=false) |
bool | surfacic | Prefer this mode if the source is surfacic, the result is not guaranteed to be watertight |
Returns
Type | Description |
---|---|
uint |