Skip to main content
Version: 12 Dec 2024

MLMeshingSettings

Module: Meshing2

More...

#include <ml_meshing2.h>

Public Attributes

TypeName
uint32_tflags
floatfill_hole_length
floatdisconnected_component_area
Any component that is disconnected from the main mesh which has an area (in meters^2) less than disconnected_component_area will be removed. The maximum area is limited to 2 square meters, and the area needs to exist fully within a mesh block boundary without skirt.

Detailed Description

struct MLMeshingSettings;

Mesh Settings for the underlying system.


Public Attributes Documentation

flags

uint32_t flags;

Request flags that are a combination of MLMeshingFlags.


fill_hole_length

float fill_hole_length;

Any hole which has perimeter (in meters) less than fill_hole_length will be filled. The maximum hole perimeter is limited to 5 meters. Also The maximum area of the hole should not exceed 0.5 square meters. If the hole overlaps with neighboring mesh block/s, it won't be filled in.


disconnected_component_area

float disconnected_component_area;

Any component that is disconnected from the main mesh which has an area (in meters^2) less than disconnected_component_area will be removed. The maximum area is limited to 2 square meters, and the area needs to exist fully within a mesh block boundary without skirt.