GlassBuilder.build#
- GlassBuilder.build(box, margin=0.95)[source]#
Build a standalone glass system from this blueprint.
- Parameters:
- boxSequence[float]
Box dimensions [a, b, c] in Å.
- marginfloat, default=0.95
Safety scaling factor to prevent atoms from sitting directly on box edges.
- Returns:
- AtomicSystem
The built glass system.
Examples
>>> blueprint = GlassBuilder( ... density=2.3, ... composition={"SiO2": 3, "Al2O3": 2, "Na2O": 2} ... ) >>> glass = blueprint.build(box=[20, 20, 20])