API & MCP

Everything a person can do on Parametric Sketch Constraint Solver, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Parametric Sketch Constraint Solver

Solve points, lines, arcs and circles under geometric and dimensional constraints driven by named parameters. Get exact coordinates, the remaining degrees of freedom, redundant and conflicting constraints, and the profile extruded as a Kerfwise Form Studio solid.

Inputs of Parametric Sketch Constraint Solver
FieldTypeDefaultDescription
sketchtextarea"{\n \"points\": [\n {\n \"id\": \"p1\",\n \"x\": 0,\n \"y\":Sketch JSON (points, entities, constraints, optional height). Points {id, x, y} in mm; entities line {a, b}, arc {c, a, b} counter-clockwise, circle {c, r}; constraints {id, type, refs, value}.
parameterstextarea"W = 600\nD = 400\nR = 100\nT = 19"Parameters (one “name = expression” per line). Each expression may use the parameters above it, for example D = W / 2.
nametext"Sketch solid"Solid name

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)

{
  "mcpServers": {
    "kerfwise-sketch-constraint-solver": { "type": "http", "url": "https://kerfwisesketchconstraintsolver.usefulweb.site/mcp" }
  }
}