Kerf by Cerana

Fabrication APIs for sheet metal, laser and CNC

Professional software,
but as an API.

Nesting, unfolding and quoting — without buying the whole suite. Pay per call, results in seconds.

100 free credits a month · about 1–10 credits per nest · cache hits are free

Real DXF parts nested on a 1220×610 mm steel sheet Computed by the Kerf nesting API: 71 L-brackets, discs, gussets, rounded plates and strips on 1 sheet, 1046 mm of sheet length used.
71 parts · 5 shapesSheet 1220 × 610 mmDashed line = 1046 mm used

Supported formats

  • DXFArcs stay ARC in the output
  • SVGmm / in / px, converted for you
  • CSV cut listName, width, height, quantity
  • Polygon JSONOutline + hole coordinates
  • DWG / PDF / AIComing soon Join the waitlist

Output: a nested DXF (SHEET / CUT layers), an SVG preview, JSON coordinates, plus cut length and pierce counts. How to send each format

One HTTP request

From DXF to a cut-ready nest in one curl

Upload several DXF files as multipart and set a quantity for each. The JSON response has every part's position and rotation, sheet utilization, and download URLs for the DXF and SVG.

# 6 L-brackets + 4 discs on a 1829×914 mm sheet
curl https://kerf.cerana.tech/v1/nest \
  -H "Authorization: Bearer $KERF_KEY" \
  -F file=@bracket_l.dxf -F "quantity[bracket_l.dxf]=6" \
  -F file=@disc.dxf      -F "quantity[disc.dxf]=4" \
  -F 'config={"sheetWidth":1829,"sheetHeight":914,"spacing":2}'

# → 200 OK (excerpt)
{ "id": "nst_6i09h1qOsBTg5B2OVOAe", "creditsCharged": 1, "stats": { "placed": 10, "sheetsUsed": 1, … },
  "fabrication": { "cutLength": 4033.63, "pierces": 26, … },
  "results": { "dxf": "https://kerf.cerana.tech/v1/nests/nst_6i09h1qOsBTg5B2OVOAe/dxf", "svg": "…/svg" } }

Try it live

Run a nest now, no sign-in

Pick a set of sample parts. Kerf nests them on a sheet with the same true-shape engine the API uses, and reports utilization, cut length, pierce count, and how much material it saves over laying out bounding boxes column by column.

L-brackets, gussets, discs, rounded plates, strips and flanges, mixed on one sheet.

Pick a sample set and the nest shows up here within seconds.

  • Utilization—
  • Sheets—
  • Cut length—
  • Pierces—
  • Material saved—

Each sample is cached after its first run and comes straight back without recomputing (0 credits). Your own files work the same way: the same input is never charged twice.

Start free — nest your own files

Built for cutting machines

Files that go straight to the machine

01Cut length and pierces

Every nest result includes cut length, pierce count, and part and sheet areas (fabrication), with true arc length for DXF arcs, ready for your quote.

02Micro-joints

Set tabs.enabled and Kerf leaves micro-joints on outer contours, so cut parts don't drop through the slats or tip up into the head.

03Coil and strip mode

autoWidth treats the sheet as an endless coil and returns how much you actually need to pull (usedWidth). Made for coil-fed lasers and fabric or leather cutting.

04Several sheet sizes

config.sheets takes up to 5 rectangular sheet sizes with quantities, filled in order: small sheets first, a bigger one when they run out.

05Async jobs and webhooks

POST /v1/jobs returns a job ID right away and an HMAC-signed webhook when it's done, so batch work never blocks a connection.

06Fixed seed, reproducible

The same input and seed always give the same nest. Resending a request returns the cached result: no recompute, no charge.

Why Kerf

Online nesting software that fixes what usually goes wrong

Each point shows up in the API response, so you don't have to take our word for it.

The usual problemWhat Kerf doesCheck it in
The DXF won't load or comes in at the wrong sizeLoose lines, arcs and splines are chained into closed contours by their endpoints, and inner contours become holes. Inch and centimetre drawings are converted to mm. A drawing with no units is read as mm and the warning tells you the size it read. Open chains and unsupported entities such as text are skipped and listed, never silently miscomputed.warnings
Curves come back as hundreds of short linesArcs and circles from DXF input are written back as real ARC entities in the output DXF, so the head moves smoothly and files stay small. Curves from SVG input become line segments.ARC in GET …/dxf
You don't trust the layout enough to cut itBefore any nest is returned, the engine checks every pair of parts on each sheet for overlap. If the check fails, you get an error and a refund instead of a layout that would ruin a sheet. The SVG preview and the DXF come from the same run.500 engine_error, creditsRefunded
You need it inside your own systemQuoting systems, shop websites and AI agents call it directly: a REST API, an OpenAPI spec, and an MCP server on the same API keys./openapi.json, /mcp
Desktop installs that breakNothing to install. Works from any OS and any language that can send an HTTP request, with results in seconds.durationMs
Annual licences and maintenance feesEach nest is charged by part count; failures are refunded and repeated requests cost 0. No annual licence, no maintenance contract.creditsCharged

For quoting systems and AI agents

A nesting API for quoting systems and AI agents

Same API key, same credits, same limits. Details in the API docs.

OpenAPI spec

Every /v1 request and response is described in /openapi.json (OpenAPI 3.1): generate a client or import it into your API tools.

MCP server

https://kerf.cerana.tech/mcp has five tools:

  • nest_parts: nests parts, returns stats and result URLs
  • preview_parts: free check of sizes, areas and warnings
  • get_nest: fetch an earlier nest
  • generate_flat_pattern: flat patterns whose parts go straight into nesting
  • get_account: credits left and limits
Claude Code
claude mcp add --transport http kerf https://kerf.cerana.tech/mcp \
  --header "Authorization: Bearer kf_live_..."
Quoting system (JavaScript)
const res = await fetch("https://kerf.cerana.tech/v1/nest", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${KERF_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    parts: [{ id: "bracket", quantity: 40, dxf: dxfBase64 }],
    config: { sheetWidth: 2440, sheetHeight: 1220, quality: "fast" },
  }),
});
const { fabrication: f, stats } = await res.json();
// your own rates: per metre cut, per pierce, per sheet
const quote = f.cutLength / 1000 * rate.perMetre
  + f.pierces * rate.perPierce + stats.sheetsUsed * rate.perSheet;

How it works

Three steps into your system

  1. Sign up free and create an API key

    One click in the dashboard gives you a kf_live_… key, and your account starts with 100 credits.

  2. Try it in the playground

    Drag DXF files into the browser, set quantities and sheet size, and see the nest right away before you write any code.

  3. Call POST /v1/nest

    Follow the curl, JavaScript or Python examples in the API docs and send the DXF you get back straight to CAM.

Pricing

Free nesting to start, talk volume later

Each nest costs max(1, ceil(total parts ÷ 10)) credits: up to 10 parts is 1 credit, 100 parts is 10. "best" quality (8 s of compute) costs 2×. Failures are refunded and cache hits are free.

Credit packs

Coming soon

  • Credits never expire; pay only for what you use
  • For quoting systems and daily batches
Buy credits (join the waitlist)

Large nests

100+ parts

  • More than 100 parts per nest, longer compute time
  • Batches across several sheets and thicknesses
  • Dedicated deployment when you need it
Over 100 parts (join the waitlist)

Coming soon

The next cutting tools

Same API key, same credits. Leave your email if you want early access, and you'll be the first to know when they launch.

gcode

Generic G-code output

Export the finished nest directly as generic G-code for laser, plasma and CNC cutters, skipping a CAM conversion step.

Join the waitlist
more-formats

DWG / PDF / AI input

Upload AutoCAD DWG, vector PDF and Illustrator files directly, without converting to DXF or SVG first.

Join the waitlist
fittings

Tee and square-to-round patterns

Parametric flat patterns for equal and reducing tees and square-to-round transitions. Segmented elbows, reducers, pipe jackets and boxes are live.

Join the waitlist
dxf-clean

DXF cleanup

Join broken lines, remove duplicates, close open contours and normalize layers, so customer drawings are ready to nest.

Join the waitlist
dxf-quote

Cutting quotes

Turn a nest's cut length, pierce count and material into machine time and cost, using your material, thickness, cutting speed and pierce time.

Join the waitlist
cut-1d

Linear cutting stock

1D cutting optimization for tubes, angles and aluminum extrusions: the fewest bars and a cut list.

Join the waitlist
step-unfold

STEP sheet-metal unfolding

Upload a STEP sheet-metal part and get a flat DXF with bend lines marked.

Join the waitlist
part-in-part

Part-in-part

Nest small parts inside the holes and cut-outs of larger ones, to fit more on the same sheet.

Join the waitlist
remnants

Remnants & irregular sheets

Nest on used sheets and odd-shaped offcuts, so you use up what's on the rack first.

Join the waitlist
common-line

Common-line cutting

Neighbouring parts share one cut line, for less cut length and fewer pierces.

Join the waitlist
layers

Keep layers & colours

The output DXF keeps your layers and colours, so cut, engrave and score stay separate.

Join the waitlist

FAQ

Questions about online nesting software

What is nesting?

Nesting is arranging the parts you need to cut on a sheet so that as little material as possible is wasted. Kerf does true-shape nesting: parts interlock by their real outlines, including holes, notches and angled edges, instead of being packed as bounding rectangles.

Which file formats are supported?

Input: DXF (common entities such as LINE, ARC, CIRCLE, ELLIPSE, LWPOLYLINE, POLYLINE and SPLINE), SVG (converted to mm from width, height and viewBox), CSV cut lists (name, width, height, quantity), or polygon coordinates and rectangle sizes as JSON. DWG, PDF and AI are coming soon; join the waitlist to hear first. Output: a nested DXF (sheet outlines on the SHEET layer, cut paths on the CUT layer), an SVG preview and JSON coordinates, with cut length and pierce counts.

Do arcs turn into lots of short lines?

Not for DXF. Curves are temporarily flattened while nesting, but the output DXF writes the original arcs back as real ARC entities, so your laser or plasma cutter gets smooth arcs, not thousands of tiny segments. Curves from SVG files are converted to line segments at 0.1 mm precision; use DXF for parts that need ARC entities.

My DXF has the wrong units or won't load. What can I do?

Kerf reads $INSUNITS from the DXF header: inch, centimetre and other drawings are converted to mm and noted in warnings. A drawing with no units (common in R12 exports) is read as mm, and warnings tells you the size it read; if it was drawn in inches, add units: "in" to the part (units[filename]=in in multipart) and send it again. Loose lines and arcs are chained into closed contours by their endpoints; open chains that can't be closed are skipped and listed in warnings, and a file with no closed contour at all gets a 400 that says why. Check sizes for free before nesting in the dashboard or with the MCP preview_parts tool.

Can it produce overlapping parts?

Not in anything it hands you. Before a nest is returned, the engine checks every pair of parts on each sheet for overlap; if that check fails, the API returns 500 engine_error and refunds the credits instead of returning the layout. The SVG preview and the DXF come from the same run, so what you preview is what you cut.

Can an AI agent use it?

Yes. Kerf runs a remote MCP server at https://kerf.cerana.tech/mcp on the same API keys and credits, with five tools: nest_parts, preview_parts, get_nest, generate_flat_pattern and get_account. Claude Code, Cursor and other clients that support HTTP MCP servers can connect to it; see the docs for setup. There is also an OpenAPI spec at /openapi.json for generating API clients.

Can it draw elbow flat patterns?

Yes. Segmented (lobster-back) elbows, pipe jackets, rectangular boxes with end caps and pipe holes, and concentric and eccentric reducers each have a free online calculator: enter the pipe OD, insulation, bend radius and so on, and get the flat pattern with its area and cut length. The DXF (CUT, BEND and MARK layers) is 1 credit per download, or call POST /v1/flat-patterns; the pieces can go straight into nesting. Tees and square-to-round transitions are coming soon; join the waitlist.

Is there a free plan?

Yes. Every account gets 100 free credits each month, enough for 100 small nests of up to 10 parts. No card is needed to start, and paid credit packs are not on sale yet.

How long does a nest take?

On the free plan each nest computes for at most 8 seconds: quality fast (2 s), balanced (4 s, default) or best (8 s). A few dozen parts usually come back within seconds. If you don't want the connection to wait, submit an async job and get a webhook when it's done. Sending the same input again returns the cached result, usually in under 0.1 s, at no charge.

How does pricing work?

You get 100 credits when you sign up, and the first time you use Kerf each month your balance is topped back up to 100. Each nest costs max(1, ceil(total parts ÷ 10)) credits; best quality costs 2×. Failed nests are refunded automatically and cache hits are free. Paid credit packs are coming soon; join the waitlist.

Will my DXF files leak?

Your files are used only to compute your nest. Results (DXF, SVG, JSON) are stored in Cloudflare R2, readable only by your account and API keys, and deleted automatically after 30 days. We don't use your drawings for anything else, share them with third parties or train models on them. See the privacy policy.

What if I have more than 100 parts?

The free plan allows up to 100 parts and 30 distinct parts per nest. Beyond that the API returns 402 limit_exceeded with a waitlist link; people on the waitlist hear first when the large-nest plan launches.