API & MCP
Everything a person can do on Plate Stress Analysis with Holes (2-D FEA), a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://prooflineplatestress.usefulweb.site/api/v1/calculate– run Plate Stress Analysis with Holes (2-D FEA)GET https://prooflineplatestress.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Plate Stress Analysis with Holes (2-D FEA)
Draw a plate as a rectangle or polygon with circular, rectangular or polygonal holes, fix edges or points, pull or press edges with a traction or pressure or add point forces, and get the plane-stress field from a finite-element model: a colour map of the von Mises stress or any stress component, the peak stress and where it sits, the stress concentration factor against the applied stress, the largest displacement, a utilisation check against the yield strength and an equilibrium check. The mesh is generated automatically (Delaunay triangulation, refined towards the holes). Part of the Proofline math notebook; a checking and teaching model, not certified design.
| Field | Type | Default | Description |
|---|---|---|---|
model (required) | textarea | — | Plate (one statement per line). Units mm, N, MPa; E in GPa. rect W H or outline x,y x,y … · hole circle cx cy r | hole rect x0 y0 x1 y1 | hole polygon x,y … · thickness t · material E=210 nu=0.3 fy=250 · fix x=0 ux (or y=…, edge N, hole N, point x y; ux, uy or both) · traction x=200 tx=50 ty=0 (MPa on that edge) · pressure hole 1 p=20 (MPa, pushing on the surface) · force x y Fx=… Fy=… (N at the nearest node). Edges are numbered from the first outline point. |
elementSize | number | — | Element size. Target triangle edge length away from the holes. Empty: 1/10 of the shorter plate side. |
holeElementSize | number | — | Element size at the holes. Smaller elements at the hole edges capture the peak stress; the size grows with the distance from the holes. Empty: a quarter of the smallest hole radius. |
show | select (vonMises, sx, sy, txy) | "vonMises" | Stress map |
showMesh | boolean | false | Draw the element edges |
Example request
Steel strip with a hole under tension (d/W = 0.3)
curl -X POST https://prooflineplatestress.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"model":"rect 200 100\nhole circle 100 50 15\nthickness 5\nmaterial E=210 nu=0.3 fy=250\nfix x=0 ux\nfix point 0 0 uy\ntraction x=200 tx=50"}'
Every result contains
inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.
MCP (Model Context Protocol)
- Streamable HTTP endpoint:
https://prooflineplatestress.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
proofline_plate_stress - Local stdio connector:
node src/mcp-stdio.ts --tool=proofline-plate-stress
{
"mcpServers": {
"proofline-plate-stress": { "type": "http", "url": "https://prooflineplatestress.usefulweb.site/mcp" }
}
}