-
metallurgy.generate.random_alloy(min_elements: int =
1, max_elements: int =10, percentage_constraints: dict | None =None, percentage_step: float | None =None, allowed_elements: list | None =None, constrain_alloy: bool =False, structure: bool =False)[source] Generate a random alloy.
Last update:
Jun 08, 2023