Version: 
Back to list

Algo :: combineMeshesByMaterials

Synopsis

   Explode and (re)merge a set of mesh parts by visible materials

GUI Dialog

   

Script function

   algo.combineMeshesByMaterials(occurrences[, mergeNoMaterials[, mergeHiddenPartsMode]]) -> mergedOccurrences

Parameters

   occurrences (OccurrenceList) : Occurrences of the parts to merge
   mergeNoMaterials (Boolean[optional] : If true, merge all parts with no active material together, else do not merge them
   mergeHiddenPartsMode (MergeHiddenPartsMode[optional] : Hidden parts handling mode, Destroy them, make visible or merge separately

Return value

   mergedOccurrences (OccurrenceList) : Resulting occurrences of the merged parts