Naar de inhoud
GET /v1/setout-ordinates

Set-out ordinates for a template

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/arch-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "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
}