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.
Fabrication APIs for sheet metal, laser and CNC
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
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
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
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.
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 filesBuilt for cutting machines
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.
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.
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.
config.sheets takes up to 5 rectangular sheet sizes with quantities, filled in order: small sheets first, a bigger one when they run out.
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.
The same input and seed always give the same nest. Resending a request returns the cached result: no recompute, no charge.
Parametric flat patterns
The four patterns insulation, duct and tank contractors cut most. The online preview is free with no sign-in; the DXF is 1 credit per download, and the pieces go straight into nesting. All flat pattern tools
Width = π × diameter + overlap, on the inside, mean or outside diameter.
Open the calculator →Four faces in one piece with bend lines, plus end caps with flanges and a pipe hole.
Open the calculator →Lobster-back middle gores and half-gore end pieces, sampled to 0.1 mm.
Open the calculator →Concentric as an annular sector with true arcs; eccentric by triangulation.
Open the calculator →Why Kerf
Each point shows up in the API response, so you don't have to take our word for it.
| The usual problem | What Kerf does | Check it in |
|---|---|---|
| The DXF won't load or comes in at the wrong size | Loose 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 lines | Arcs 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 it | Before 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 system | Quoting 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 break | Nothing to install. Works from any OS and any language that can send an HTTP request, with results in seconds. | durationMs |
| Annual licences and maintenance fees | Each 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
Same API key, same credits, same limits. Details in the API docs.
Every /v1 request and response is described in /openapi.json (OpenAPI 3.1): generate a client or import it into your API tools.
https://kerf.cerana.tech/mcp has five tools:
nest_parts: nests parts, returns stats and result URLspreview_parts: free check of sizes, areas and warningsget_nest: fetch an earlier nestgenerate_flat_pattern: flat patterns whose parts go straight into nestingget_account: credits left and limitsclaude 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
One click in the dashboard gives you a kf_live_… key, and your account starts with 100 credits.
Drag DXF files into the browser, set quantities and sheet size, and see the nest right away before you write any code.
POST /v1/nestFollow the curl, JavaScript or Python examples in the API docs and send the DXF you get back straight to CAM.
Pricing
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.
Free
US$0 / month
Credit packs
Coming soon
Large nests
100+ parts
Coming soon
Same API key, same credits. Leave your email if you want early access, and you'll be the first to know when they launch.
Export the finished nest directly as generic G-code for laser, plasma and CNC cutters, skipping a CAM conversion step.
Join the waitlistUpload AutoCAD DWG, vector PDF and Illustrator files directly, without converting to DXF or SVG first.
Join the waitlistParametric flat patterns for equal and reducing tees and square-to-round transitions. Segmented elbows, reducers, pipe jackets and boxes are live.
Join the waitlistJoin broken lines, remove duplicates, close open contours and normalize layers, so customer drawings are ready to nest.
Join the waitlistTurn 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 waitlist1D cutting optimization for tubes, angles and aluminum extrusions: the fewest bars and a cut list.
Join the waitlistUpload a STEP sheet-metal part and get a flat DXF with bend lines marked.
Join the waitlistNest small parts inside the holes and cut-outs of larger ones, to fit more on the same sheet.
Join the waitlistNest on used sheets and odd-shaped offcuts, so you use up what's on the rack first.
Join the waitlistNeighbouring parts share one cut line, for less cut length and fewer pierces.
Join the waitlistThe output DXF keeps your layers and colours, so cut, engrave and score stay separate.
Join the waitlistFAQ
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.