/v1/safety
Factor of safety vs yield
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/mohr-api/v1/safety" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/mohr-api/v1/safety", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/mohr-api/v1/safety");
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/mohr-api/v1/safety",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"formula": "FoS = Sy / σvm; σvm = √(σ1² − σ1σ2 + σ2²).",
"sigma_1": 110,
"sigma_2": 10,
"criterion": "von-mises",
"tresca_stress": 110,
"yield_strength": 250,
"factor_of_safety": 2.372895,
"von_mises_stress": 105.356538,
"equivalent_stress": 105.356538
},
"meta": {
"timestamp": "2026-06-04T10:18:51.336Z",
"request_id": "ecacc07f-a5e9-4917-933f-85ceb5e1b5c9"
},
"status": "ok",
"message": "Factor of safety",
"success": true
}