Clean up problem ply files

Share:

Description

Function will remove floating verticies, and faces with zero area. These can cause issues when using molaR's primary functions of DNE, RFI, and OPC

Usage

1
molaR_Clean(plyFile, cleanType = "Both")

Arguments

plyFile

An object of classes 'mesh3d' and 'shape3d'

cleanType

logical asking what to clean, Verticies, Faces or Both. Defaults to Both.

Details

This function cleans up problematic ply files. Some smoothed files will have faces of zero area, or floating verticies. DNE and OPC cannot be calculated on these files. Running the plys through this function will allow those calculations to be made.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.