lpbf-defect-prediction
Installation
SKILL.md
L-PBF defect prediction (AdditiveLLM)
Takes a metal L-PBF parameter set and says which defect regime it most likely falls in. Can
also draw the safe window across power and speed. The workflow follows AdditiveLLM
(Pak & Barati Farimani, Additive Manufacturing Letters 2025): MeltpoolNet melt-pool data,
labelled with three geometric criteria, augmented over hatch and layer, and learned as a
multi-label classifier. Paper details and how this skill differs are in
references/paper-notes.md.
Everything runs through scripts/lpbf.py (numpy, pandas, scikit-learn, matplotlib,
pyarrow). The first run downloads MeltpoolNet (~1 MB) from
github.com/BaratiLab/MeltpoolNet to ~/.cache/mechanical-engineering-skills/meltpoolnet. Set
LPBF_CACHE to put it elsewhere.