Docs · Tutorial

SubD to B-rep

The Kiln is a page for modelling with a subdivision cage: a coarse mesh of quads that you push and pull, with a smooth surface that follows it. The page is always the cage. When the shape is right, STEP writes it as an exact solid, a boundary representation made of NURBS patches, converted from the cage as the file is written; STL, OBJ and glTF take the smooth surface home as triangles. The kernel runs in your browser, and nothing is uploaded.

This page sculpts a box and exports it. Open the Kiln beside this page and follow along.

Step 1

Start with a cage

The Kiln opens on a box cage, two units a side and split in two along each axis: 26 vertices and 24 quads. The smooth surface is drawn over it, with the cage’s own edges on top. Box, Cylinder, Sphere and Torus on the left start another cage in its place, with the fields of its size beside Last edit. Each is an undo step, so Undo brings the cage before it back.

The cylinder’s two rims are creased, so its ends stay sharp. Tab hides the cage’s lines while the view has the keyboard focus, and Esc lets the view go, so that Tab walks the page’s controls again.

Step 2

Pick, then edit

Choose what a click picks with Vertex, Edge or Face (1, 2, 3). A click picks one, Shift+click adds to the picks, and Alt+click on an edge picks the whole loop of edges it belongs to. The gizmo at the picks’ centre, drawn over the model so the surface never hides it, has every handle at once: drag an arrow to slide the picks along its axis, a ring to turn them about it, the square beside the centre to scale them, or the centre itself to move them across the view.

Anywhere else in the view, a drag turns the view, a drag with the right button pans it, and the wheel zooms. The note at the bottom of the view says what a click does in the current mode.

The fields under Last edit hold the number of the edit just made: type 0.5 in an extrusion’s Distance and it is made again at exactly that. When the kernel refuses a value, the cage stays as it was and the kernel’s own words appear beside the tool.

Step 3

Take it home

The Export buttons write the cage as it is:

The conversion’s default tolerances are strict. The patches stay within 1e-4 of the cage’s diagonal from the smooth surface, the tangent may break by no more than 0.1° across the seams between them, and the kernel refines up to six levels to get there. A line under the buttons then gives the figures it reached, until the next edit. A quad of the cage becomes four faces of the solid, so a cage of 24 quads is a solid of 96 faces.

The conversion takes seconds. While the kernel works, the note under the view counts them and Stop beside it ends the export. The kernel then starts afresh on the cage as it was: no step is lost, only the file.

Limits

What the Kiln does not do

These are the kernel’s limits, shown as they are:

Open the Kiln · All docs