MR cnc.riera.co.uk / tool
cnc.riera.co.uk

Prompt to CNC-ready output. Structured geometry, validated before it reaches a machine file.

Tool

Describe the part, sign, panel, or drawing. A structured geometry plan from OpenRouter is validated, then deterministic code converts it into previewable SVG, fabrication DXF, plotter vectors, and GRBL-style G-code.

ArtifactsSVG · DXF · plotter · G-code
KeysShared demo · BYO OpenRouter
HistoryBrowser-scoped
§ 01 · Example job

From sentence to G-code in one request.

prompt → geometry → toolpathjob.grbl
// prompt
> a hexagonal coaster, 95mm flat-to-flat, 3mm chamfer, plotter mark "JMR"

// geometry plan — validated
~ shape: regular_hex(sides=6, flat_to_flat=95)
~ ops: [outline, chamfer(3), engrave("JMR")]

// emitted
preview.svg · fabrication.dxf · plotter.svg · job.gcode
§ 02 · Workflow

Four steps. One validated spec. Four output files.

01 · prompt

Describe the desired geometry. Optionally set units, dimensions, material assumptions, and machine preference.

02 · normalise

OpenRouter is asked for a strict structured geometry response rather than free-form fabrication output.

03 · validate

Every plan is validated against a shape and operations schema before any emitter runs. No unsafe file can leave by accident.

04 · emit

Preview SVG for the browser, DXF for fabrication, plotter vectors for pen work, GRBL-style G-code for the machine.

history

Runs are kept in browser-scoped account history for comparison and re-export. No central storage of your prompts.

byo-key

Paste your own OpenRouter key and keep using the same generation flow without waiting on shared quota.

§ 03 · Access

Shared key for demos. Your own key for real work.

Shared

Demo key — rate-limited

A quick way to evaluate the tool. Rate-limited so the demo stays responsive for everyone, and intentionally not sized for production exploration.

BYO

Bring your own OpenRouter key

Paste an OpenRouter key and the request is routed via your quota. The key is stored only in your browser; nothing leaves the session.

§ 04 · Contact

Questions, machine quirks, or a bespoke profile.