Mesh Repair

Detailed Description

group a3d_repair_module

Function Documentation

A3DStatus A3DMeshRepair(A3DAsmModelFile *pModelFile, const A3DMeshRepairParametersData *pSettings)

Function to repair meshes of a model file.

This function repair all meshes in a Model File according to customers’ options.

Depending on their activation, the following options are applied in the following order: Remove duplicated vertices Remove T-junctions

Version
24.7

Parameters:
  • pModelFile – [in] The source model file to repair.
  • psSettings – [in] The structure that defines the operations to process.
Return values:
  • A3D_SUCCESS –
  • A3D_ERROR –
  • A3D_INITIALIZE_NOT_CALLED –
  • A3D_INVALID_DATA_STRUCT_NULL –
  • A3D_INVALID_ENTITY_NULL –
  • A3D_INCOMPATIBLE_FUNCTION_WITH_KEEP_PARSED_ENTITY_MODE –
Returns:

A3D_SUCCESS on success, or an error code on failure