Version: 
Back to list

Algo :: selectSimilar

Synopsis

   Selects occurrences in the whole scene that are similar to the selected occurrences. If several occurrences are selected, the selection afterwards will contain similar parts for each input occurrence.

GUI Dialog

   

Script function

   algo.selectSimilar(occurrences, dimensionsSimilarity, polycountSimilarity, ignoreSymmetry)

Parameters

   occurrences (OccurrenceList) : Occurrences for which we want to find similar occurrences in the scene.
   dimensionsSimilarity (Coeff) : The percentage of similarity on dimensions. A value of 1.0 (100%) will find parts that have exactly the same dimensions. A lower value will increase the likelyhood to find similar parts, at the cost of precision.
   polycountSimilarity (Coeff) : The percentage of similarity on polycount. A value of 1.0 (100%) will find parts that have exactly the same polycount. A lower value will increase the likelyhood to find similar parts, at the cost of precision.
   ignoreSymmetry (Boolean) : If True, symmetries will be ignored, otherwise negative scaling will be applied in the occurrence transformation.