File size: 6,872 Bytes
5ce6c70 0f6d5bb 5ce6c70 0f6d5bb | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 | ---
license: mit
tags:
- astm
- mechanical-testing
- tensile
- flex
- sls
- 3d-printing
- additive-manufacturing
- inova-mk1
configs:
- config_name: D638
data_files:
- split: train
path: data/D638/*.jsonl
default: true
- config_name: D790
data_files:
- split: train
path: data/D790/*.jsonl
---
# Inova-Mk1-ASTM
ASTM mechanical-test specimens (D638 tensile, D790 flex) printed on the Inova Mk1 SLS printer and pulled on an MTS / TestWorks Instron. Each row is a single specimen with full geometry, scalar results, stress–strain + raw DAQ curves, and — for SLS rows — FK references and an embedded snapshot of the upstream print profile from [`ppak10/Inova-Mk1-Database`](https://huggingface.co/datasets/ppak10/Inova-Mk1-Database).
Rows are self-contained for ML use: the full `PrintProfile` JSON is inlined, so features (material/energy profile) and target (mechanical response) live on the same row.
```python
from datasets import load_dataset
tensile = load_dataset("ppak10/Inova-Mk1-ASTM", "D638", split="train")
flex = load_dataset("ppak10/Inova-Mk1-ASTM", "D790", split="train")
```
## Composite stress–strain
Every specimen overlaid on one plot per standard. Colors are batch labels (A/B/C/D/E); dashed and dotted gray lines in D638 are PLA/PETG filament controls — they print at much higher stress and strain than the SLS PA12 specimens, which is why the SLS curves cluster near the origin.
| D638 (tensile) | D790 (three-point flex) |
|---|---|
|  |  |
Regenerate with `uv run scripts/plots/01_composite.py`.
---
## Configs
| Config | Description | Files |
|---|---|---|
| `D638` (default) | Tensile specimens (ASTM D638 Type I). 22 SLS + 3 PLA + 3 PETG = 28 rows. | `data/D638/*.jsonl` (one row per file) |
| `D790` | Three-point flex specimens (ASTM D790 Procedure A). 27 SLS rows (10 of them — Batch E — from a print job not yet in Database, so they carry null FKs). | `data/D790/*.jsonl` (one row per file) |
One JSONL file per specimen — SLS rows are named after their `sample_id` (e.g. `data/D638/A1.jsonl`, `data/D790/E10.jsonl`); PLA/PETG controls use `{material}_TSR{n}.jsonl` (e.g. `data/D638/PLA_TSR6.jsonl`). Both configs share the same row schema and are produced by the per-session scripts under `scripts/specimens/`.
Specimens are labeled with a `sample_id` of the form `{batch_letter}{seq}` (e.g. `A1`, `C7`), where the batch letter identifies the print batch they came from. The same `sample_id` may appear in both configs — `C1` in `D638` and `C1` in `D790` are **different physical specimens** that came from the same Batch C print.
## Source Layout
```
source/
2026_05_26/ # one folder per test session
*.tsproj # TestWorks project pointer
*.xlsx # TestWorks Excel export, one sheet per specimen
TST1.Test/
TestRuns/
TSR{n}.TestRun/
Data/DaqTaskActivity1.h5 # raw DAQ scans (10 Hz)
AnalysisRuns/ANR1.AnalysisRun/
persistent.h5 # analyzed scalars + curves
```
Test sessions covered:
| Session folder | Specimens | Standard | Batch | Source print job (Database) |
|---|---:|---|---|---|
| `2026_05_26/` | 5 | D638 | A | 2026-05-25 (d638_type1) |
| `2026_06_01/` | 5 | D638 | B | 2026-05-30 (d638_type1_engraved) |
| `2026_06_03/` | 7 | D638 | C | 2026-06-02 (d638_type1_engraved) |
| `2026_06_10/Tensile Testing/` | 5 SLS + 3 PLA + 3 PETG | D638 | D (SLS only) | SLS: 2026-06-07 (d638_type1_engraved) |
| `2026_06_10/Batch C 3pt test/` | 9 | D790 | C | 2026-06-02 (d790_flex_specimen) |
| `2026_06_10/Batch D 3pt test/` | 8 | D790 | D | 2026-06-07 (d790_flex_specimen) |
| `2026_06_10/Batch E 3pt test/` | 10 | D790 | E | print job **not yet in Database** — FKs null until backfilled |
TSR11 in `Batch E 3pt test/` exists on disk but has empty `Data/` (aborted run, no DAQ scans) and no corresponding xlsx sheet — it is excluded from the JSONL.
## Row shape
```json
{
"sample_id": "A1",
"batch_label": "A",
"specimen_id": "2026_05_26/TSR1",
"test_date": "2026-05-26",
"session_folder": "2026_05_26",
"test_run_name": "TSR1",
"specimen_index": 1,
"material_class": "SLS",
"astm": { "standard": "D638", "type": "Type I", "year": "2022" },
"test_end_reason": "Break Detected",
"geometry": {
"width_mm": 12.9, "thickness_mm": 3.2,
"area_mm2": 41.28, "gauge_length_mm": 103.0
},
"job_id": "ba17a5ba-a5f6-4d60-8832-b6c13a2dfa67",
"print_date": "2026-05-25",
"print_profile_id": "52715389-d580-4be9-9194-ed300bdf911b",
"object_hash": "E4251951376A82B4303394F832996A2E9883EAB0",
"session_id": null,
"print_profile_snapshot": { "...full PrintProfile JSON..." },
"metrics": {
"modulus_pa": 341090566.27,
"peak_load_n": null, "peak_stress_pa": null,
"strain_at_break": null, "stress_at_break_pa": null,
"energy_to_break_j": null, "yield_stress_pa": null,
"slope_n_per_m": 136701.15
},
"curves": {
"time_s": [/* N */],
"extension_m": [/* N */],
"load_n": [/* N */],
"strain": [/* N */],
"stress_pa": [/* N */]
},
"source_paths": {
"persistent_h5": "source/2026_05_26/TST1.Test/TestRuns/TSR1.TestRun/AnalysisRuns/ANR1.AnalysisRun/persistent.h5",
"daq_h5": "source/2026_05_26/TST1.Test/TestRuns/TSR1.TestRun/Data/DaqTaskActivity1.h5",
"xlsx": "source/2026_05_26/tensile_testing_5.26.xlsx",
"xlsx_sheet": "Sheet1"
}
}
```
## Notes on results
- `sample_id` is null for PLA/PETG control rows (they didn't come from an SLS print batch). Filter on `material_class == "SLS"` to get the rows that link back to Database.
- `batch_label == "E"` rows currently have `job_id`, `print_profile_id`, `object_hash`, and `print_profile_snapshot` all null — the source print job for Batch E is not yet in Database. The mechanical results are still valid.
- `metrics.peak_*` and `metrics.*_at_break` are often `null` in the D638 tensile rows because TestWorks did not detect a peak/break point on those runs. D790 flex rows have these fields more consistently populated. The `curves.stress_pa` / `curves.strain` arrays are populated regardless, so consumers can re-derive peak/break with their own criteria.
- `metrics.modulus_pa` matches the kN/mm² value in the TestWorks xlsx after unit conversion (e.g. tensile 0.341 kN/mm² → 3.41 × 10⁸ Pa). For D790, TestWorks computes the flexural modulus via the 3-point-bend formula directly; values may look unintuitive compared to the tensile modulus.
- DAQ scans are in SI units (m, N, s); stress is Pa and strain is dimensionless.
- For D790, `geometry.gauge_length_mm` is always null (gauge length is a tensile concept; flex uses support span which is not surfaced).
|