sls-process-optimization
/sls-process-optimization
Optimize polymer selective laser sintering (SLS) process parameters batch by batch — keep a build history, reduce ASTM D638 tensile and D790 flexural test data, compare against the material datasheet, and propose the next batch's fill energy density, hotspot overlap and surface temperature with a bounded Bayesian suggester, the agent explaining each change. Based on the Barati Farimani Lab's agentic SLS work (PA12 GF, PA11, PA12 blends on an SLS4All Inova). Use for SLS parameter development, new powders, or learning from ASTM results.
- Author
- BaratiLab ↗
- Repository
- mechanical-engineering-skills ↗
- Licence
- MIT
- Last repository change
- 03.11.2026
Assessment and security
- Files in this package
- 6
- Scripts
- 2
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 03.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 2 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: scripts/sls.py, tests/test_sls.py
What it does and when to use it
Optimize polymer selective laser sintering (SLS) process parameters batch by batch — keep a build history, reduce ASTM D638 tensile and D790 flexural test data, compare against the material datasheet, and propose the next batch's fill energy density, hotspot overlap and surface temperature with a bounded Bayesian suggester, the agent explaining each change. Based on the Barati Farimani Lab's agentic SLS work (PA12 GF, PA11, PA12 blends on an SLS4All Inova). Use for SLS parameter development, new powders, or learning from ASTM results.
Original author description
Optimize polymer selective laser sintering (SLS) process parameters batch by batch — keep a build history, reduce ASTM D638 tensile and D790 flexural test data, compare against the material datasheet, and propose the next batch's fill energy density, hotspot overlap and surface temperature with a bounded Bayesian suggester, the agent explaining each change. Based on the Barati Farimani Lab's agentic SLS work (PA12 GF, PA11, PA12 blends on an SLS4All Inova). Use for SLS parameter development, new powders, or learning from ASTM results.
How it works
- Workflow
- Rules
SKILL.md preview
---
name: sls-process-optimization
description: Optimize polymer selective laser sintering (SLS) process parameters batch by batch — keep a build history, reduce ASTM D638 tensile and D790 flexural test data, compare against the material datasheet, and propose the next batch's fill energy density, hotspot overlap and surface temperature with a bounded Bayesian suggester, the agent explaining each change. Based on the Barati Farimani Lab's agentic SLS work (PA12 GF, PA11, PA12 blends on an SLS4All Inova). Use for SLS parameter development, new powders, or learning from ASTM results.
---
# SLS process optimization (agentic)
Pak, Alvarado & Barati Farimani (arXiv:2608.25928, 2026) let an agent remember every build and its
ASTM results, then propose the next batch on an open-source SLS printer. The agent reached datasheet
values for UTS and flexural strength in 3–4 batches per material. `scripts/sls.py` is that memory,
the test-data reduction, and a bounded suggestion engine. **You** reason, explain, and let the user
approve. Paper data and numbers are in `references/paper-notes.md`.
## Workflow
1. **Set up the history.**
- `python scripts/sls.py --db builds.sqlite init --seed-paper` loads the paper's 21 batches
(PA12 GF, PA11 Onyx, PA12 Blend). Omit `--seed-paper` for an empty history.
- Add the user's powder with its datasheet targets and DSC melt peak:
`material --name "PA12 White" --tds Et=1950,UTS=47 --tmelt 186`.
2. **First batch of a new powder.** Follow the machine's patch test (the paper prints a 5 × 5 grid of
energy settings) and start from the lowest energy that sinters visibly. If nothing has been
recorded, `suggest` returns a conservative starting point.
3. **After each build, reduce the test data.**
```bash
python scripts/sls.py astm --test d638 --type 4 --csv t1.csv t2.csv t3.csv t4.csv t5.csv > tensile.json
python scripts/sls.py astm --test d790 --csv f1.csv f2.csv f3.csv > flex.json
python scripts/sls.py --db builds.sqlite result --batch Q --from tensile.json [--Ef .. --sf ..]
```
- Each CSV needs a load (or force) column in N and an extension/deflection column in mm. Pass
`--strain` if the second column is already strain.
- The output includes mean ± sd and the best specimen. Record the best (paper convention), but
**quote the scatter**. If one batch can't be reproduced, mark it `--exclude`.
4. **Propose the next batch.**
`python scripts/sls.py --db builds.sqlite suggest --material "PA11 Onyx" [--objective UTS|Et|score]`
- Candidates come ranked by expected improvement, within machine and step bounds, and list which
levers changed.
- **Pick one, and change one or two levers.** Explain the physics:
- more fill energy and overlap → better coalescence, until warping or degradation sets in;
- higher surface temperature → less curl and better layer bonding, until the powder cakes.
- Use the notes (warping, brittle corners, early build stop) to override the model when needed.
- `batch` refuses a surface temperature within 3 °C of the melt peak.
5. **Track progress:** `history --material ... --plot progress.png` shows every batch against the
datasheet targets.
## Rules
- The datasheet is the target, but machine and atmosphere matter. PA11 Onyx is specified for
nitrogen, which the paper's machine lacked. Say when a target is unreachable on this setup.
- Every proposal needs a human go-ahead before printing (the paper's GUI step). Never push
parameters to a printer without approval.
Cite: Pak, Alvarado & Barati Farimani, arXiv:2608.25928 (2026).
Files in this package (6)
- SKILL.md 4 KB
- examples/d638_type4_example.csv 15 KB
- examples/d790_example.csv 15 KB
- references/paper-notes.md 4 KB
- scripts/sls.py 19 KB
- tests/test_sls.py 3 KB
Versions
The database has no other skills named sls-process-optimization.
Database snapshot: 13.11.2026 · package version 27fd66ff4a29 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100aliyun-sls-log-query
Use when querying or troubleshooting logs in Alibaba Cloud Log Service (SLS) using query|analysis syntax and the Python SDK. Use for time-bounded log search, error investigation, and root-cause analysis workflows. - 100lpbf-defect-prediction
Predict laser powder bed fusion (L-PBF) defect regimes — keyholing, lack of fusion, balling, or none — from process parameters (material, laser power, scan speed, beam diameter, hatch spacing, layer thickness), check measured melt-pool dimensions against the standard defect… - 100aliyun-sls-openclaw-integration
Use when the user needs to integrate OpenClaw with Alibaba Cloud SLS/Observability, including collector setup, machine groups, indexes, dashboards, collection configs, or Logtail bindings on Linux. - 100am-alloy-screening
Screen metal alloys — known grades or new compositions — for laser powder bed fusion printability. Parse a composition, get thermophysical properties (Thermo-Calc/TC-Python CALPHAD when available, built-in alloy data or flagged estimates otherwise), compute Rosenthal melt pools…