From a photo to defect maps¶
Four pieces that chain together: a photo becomes a part, the part becomes a build with a thermal history, the history becomes defect indicators on sections of the part, and the indicators drive a search over the process settings.
openwaam from-image wheel.png --diameter 0.2 --material IN718 -o out/wheel
writes the estimated part (estimate.json, part.stl), the robot program
(part.mod, part.gcode), history_maps.png, defect_maps.png and
report.json.
What the photo gives¶
openwaam.vision.impeller_from_image finds the part against a plain background,
measures how it is tilted, and counts the blades from the angular periodicity
of the image around the hub. Size comes from --diameter. The hub curve,
backsweep and lean are not recoverable from one oblique photo: they come from
the template wheel unless you override them or pass a describe function (for
example a call to a vision-language model) that returns them.
On the nine wheels of the test photo the count was right on one checked by eye
(12 of 12) and low on another (14 where about 19 can be counted). Treat it as a
first guess and correct it with n_blades= / n_splitters=. Only impellers
are supported.
Thermal-history maps¶
ThermalModel.fields() returns, for every voxel of the part: peak temperature,
time above the liquidus, time above a critical solid-state temperature since
the last melting, cooling rate just below the solidus, and the highest
temperature reached after first cooling (which tells whether a later bead
remelted it). openwaam.defects.plot_maps draws them on a section through the
axis and on horizontal sections.

Defect indicators¶
openwaam.defects.assess maps the history onto five 0-to-1 indicators: lack
of fusion, vaporisation, melt residence, slow cooling, and time in a critical
temperature range (beta transus for Ti-6Al-4V, grain-boundary liquation range
for IN718).

These are screening indicators
The thresholds are engineering starting points and have not been calibrated against sectioned builds. The flagged fractions also depend on the voxel size: the same IN718 build gives 4 % lack of fusion on 3 mm voxels and 7 % on 4 mm. Compare settings on one grid; do not read the percentages as defect rates.
Tuning¶
openwaam.tune.coordinate_search varies one setting at a time and keeps the
best. Here the settings are the arc power on the hub rings, the arc power on
the blades, and the interpass temperature; the objective is the summed flagged
fraction.

| IN718 start | IN718 tuned | Ti-6Al-4V start | Ti-6Al-4V tuned | |
|---|---|---|---|---|
| hub / blade power | 1.0 / 1.0 | 0.9 / 0.7 | 1.0 / 1.0 | 0.8 / 0.7 |
| lack of fusion | 1.0 % | 4.1 % | 0.7 % | 3.0 % |
| vaporisation | 14.7 % | 3.9 % | 42.0 % | 12.9 % |
| slow cooling | 9.5 % | 2.8 % | 0.2 % | 0.1 % |
| score (3 mm grid) | 0.253 | 0.108 | 0.433 | 0.159 |
| build time | 4.71 h | 4.40 h | 4.52 h | 4.19 h |
| arc energy | 6.8 kWh | 5.8 kWh | 6.8 kWh | 5.3 kWh |
The starting current is 157 A, the one the wire-melting relation gives for the wire feed (its constants are for steel wire and are used here as an approximation).
What the search found:
- In both alloys the search takes the blade power to 0.7, the lowest value offered. The blades are one bead thick and cannot conduct the heat away.
- It lowers the hub power too (0.9 for IN718, 0.8 for Ti-6Al-4V): the current set by the wire feed is more than either part of the wheel wants. Lowering power while keeping the wire feed is a change of the thermal model's input only; on a real power source the two are tied.
- On the IN718 hub, less power raises lack of fusion and more power raises vaporisation, and both are flagged at once. Power alone does not fix that: the heat is too concentrated at the bead centre. A weave or a tighter step-over is the next thing to try; neither was run.
- For Ti-6Al-4V the tuned setting trades overheating for lack of fusion. Hub power between 0.8 and 1.0 was not tried and is the obvious next point.
- Interpass temperature barely moved the score. Raising the limit from 200 to 300 C saved 0.7 h on IN718; lowering it to 100 C cost two hours for nothing.
Inconel 718 against Ti-6Al-4V¶
Same wheel, same toolpath, same arc settings (157 A, 18 V, 6 mm/s).

| median over the part | IN718 | Ti-6Al-4V |
|---|---|---|
| peak temperature | 2290 C (1.6 x liquidus) | 2940 C (1.7 x liquidus) |
| time above the liquidus | 3.6 s | 4.5 s |
| cooling rate below the solidus | 244 K/s | 376 K/s |
| time above the critical temperature | 1.5 s (above 1160 C) | 9.5 s (above 995 C) |
| part mass | 5.9 kg | 3.0 kg |
Titanium runs much hotter on the same settings. It takes about a quarter less energy to melt a given volume and conducts heat away more slowly, so settings carried over from IN718 overheat it: 42 % of the part is flagged for vaporisation against 15 %. Ti-6Al-4V also spends about six times longer above its beta transus than IN718 spends in its liquation range, which is what coarsens the prior-beta grains. IN718 is the one that suffers from slow cooling in the blades, where Laves phase coarsens.
The peak temperatures are high in absolute terms because the model has no evaporative cooling and represents pool convection only by a tripled liquid conductivity. The difference between the alloys is the result; the absolute values are not.