metallurgy.alloy.Alloy.constrain_max_elements()[source]

Removes elements from an alloy if there are more elements than allowed by the max_elements constraint.


Last update: Jun 08, 2023