/v1/from-span-rise
Radius and arc from span and rise
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/arch-api/v1/from-span-rise" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/arch-api/v1/from-span-rise", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/arch-api/v1/from-span-rise");
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/arch-api/v1/from-span-rise",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"note": "A segmental arch is an arc of a circle through the two springings and the crown. The radius = (span²/4 + rise²) ÷ (2·rise) — flatter arches (small rise) have huge radii. The central angle subtends the span, the arc length is the curve a mason or joiner works to, and the segment area is the void below the arc. A rise of exactly half the span is a semicircle; beyond that it is more than a semicircle and a different set-out.",
"inputs": {
"rise_m": 0.5,
"span_m": 2
},
"radius_m": 1.25,
"arc_length_m": 2.3182,
"segment_area_m2": 0.6989,
"central_angle_deg": 106.2602
},
"meta": {
"timestamp": "2026-06-07T08:17:55.012Z",
"request_id": "785dbfb8-88af-4ee0-a5ae-b6a80486b6fc"
},
"status": "ok",
"message": "From span and rise",
"success": true
}