Ir al contenido
GET /v1/setout-ordinates

Set-out ordinates for a template

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/arch-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/arch-api/v1/setout-ordinates" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/arch-api/v1/setout-ordinates", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/arch-api/v1/setout-ordinates");
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/setout-ordinates",
    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": "The set-out ordinates are the height of the arc above the springing line at equally spaced stations across the span: y = √(R² − x²) − (R − rise), with x measured from the centre. Mark these heights up from a straight base line, connect them, and you have the curve to cut a template or bend a batten — the classic way to lay out an arch without a giant compass. The ends are zero (the springings) and the middle equals the rise (the crown).",
        "inputs": {
            "rise_m": 0.5,
            "span_m": 2,
            "divisions": 4
        },
        "radius_m": 1.25,
        "ordinates": [
            {
                "x_m": -1,
                "rise_m": 0
            },
            {
                "x_m": -0.5,
                "rise_m": 0.3956
            },
            {
                "x_m": 0,
                "rise_m": 0.5
            },
            {
                "x_m": 0.5,
                "rise_m": 0.3956
            },
            {
                "x_m": 1,
                "rise_m": 0
            }
        ],
        "station_spacing_m": 0.5
    },
    "meta": {
        "timestamp": "2026-06-07T08:17:55.107Z",
        "request_id": "16b58897-9b3e-426a-b70f-c255c140201f"
    },
    "status": "ok",
    "message": "Set-out ordinates",
    "success": true
}