Skip to main content

Module mesh

Module mesh 

Source
Expand description

Mesh Processing Module

Provides post-processing operations for 3D meshes:

  • Manifold validation (3D print readiness check)
  • Island removal (small disconnected components)
  • Hole filling (close gaps in mesh)
  • Smoothing (Laplacian and Taubin algorithms)
  • PLY export with normals and colors

Structs§

HoleFillingConfig
Configuration for hole filling
HoleFillingResult
Result of hole filling
IslandRemovalConfig
Configuration for island removal
IslandRemovalResult
Result of island removal
ManifoldValidation
Result of mesh manifold validation
MeshProcessingSettings
Mesh processing settings determined by hardware profile. Follows the same pattern as SegmentationSettings in segmentation/profile_settings.rs.
PlyExportOptions
PLY export options
SmoothingConfig
Configuration for mesh smoothing
SmoothingResult
Result of smoothing operation

Enums§

HoleFillingMethod
Method for filling holes
PlyFormat
PLY format
SmoothingAlgorithm
Smoothing algorithm

Functions§

export_to_ply
Export mesh to PLY format
fill_holes
Fill holes in mesh using boundary edge detection
remove_islands
Remove small disconnected components (islands) from mesh
smooth_mesh
Smooth mesh using configured algorithm