materials ¶
materials(extra: Sequence[str | Path] = (), *, imports: bool = False) -> list[dict[str, Any]]
Every shipped material with its kind (rigid / elastic / fluid / granular), density (kg/m^3), friction and
restitution; imports=True adds the imported libraries' per-object materials (about 1,600).
Example: [m["name"] for m in alloy.materials() if m["kind"] == "fluid"] -> ['honey', 'olive_oil', 'water'].