/v1/pattern-shrinkage
Oversize pattern dimension
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/casting-api/v1/pattern-shrinkage" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/casting-api/v1/pattern-shrinkage", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/casting-api/v1/pattern-shrinkage");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/casting-api/v1/pattern-shrinkage",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "Metal shrinks as it cools from freezing to room temperature, so the pattern must be made oversize: pattern = casting dimension × (1 + shrinkage/100). The patternmaker's 'contraction rule' bakes this in — about 1.0–1.6 % for grey iron, ~2 % for steel and aluminium, ~1.5 % for brass. A 100 mm steel feature needs a 102 mm pattern. This is solid (linear) contraction only; liquid and freezing shrinkage are fed by the risers.",
"inputs": {
"shrinkage_pct": 2,
"casting_dimension_mm": 100
},
"allowance_mm": 2,
"pattern_dimension_mm": 102
},
"meta": {
"timestamp": "2026-06-07T08:17:50.321Z",
"request_id": "c9dbd87f-de1d-419a-ac89-1913d5e6f10e"
},
"status": "ok",
"message": "Pattern shrinkage",
"success": true
}