pwspy.utility.reflection.extraReflectance.generateMaterialCombos

pwspy.utility.reflection.extraReflectance.generateMaterialCombos(materials, excludedCombos=None)[source]

Given a list of materials, this function returns a list of all possible material combo tuples.

Parameters
  • materials (Iterable[Material]) – The list of materials that you want to generate every possible combo of.

  • excludedCombos (Optional[Iterable[Tuple[Material, Material]]]) – Combinations of materials that you don’t want included in the combinations.

Return type

List[Tuple[Material, Material]]

Returns

A list of Material combinations.