Thicken
Thicken gives a surface a thickness and so turns it into a solid. It is the way out of the surface world: build a shape as a skin, then thicken it into a part. The solid meets the model as an extrude's does: it is fused with what it touches, cut out of it, or kept as a body of its own. Faces of a solid can be thickened too, into a skin standing on them.
Make a surface, thicken it
- Make the surface: Extrude, Revolve, Sweep or Loft on the Surface tab, or import one from a STEP file.
- Open the Surfaces menu on the toolbar and click Thicken. The Thicken dialog opens on Add, with the Surfaces row armed (blue border).
- Click the surface's row in the timeline to take it whole, or click faces in the viewport: a click takes the face you click, which is the whole surface when the surface is a single face, as an extruded line or arc is.
- Set the Thickness. As soon as the row holds a surface, the solid previews in green on the side it grows to.
- Click Apply. The timeline gains a Thicken row, and in the Shapes panel a Solid takes the surface's place.

- 1Add / Remove / NewHow the solid meets the model: fused with the solids it touches, cut out of them, or kept as a body of its own.
- 2SurfacesWhat to thicken. Takes several picks: whole surfaces, and faces of surfaces and of solids. Click a chip’s ✕ to drop it.
- 3ThicknessA number or an expression, never zero. Positive grows along the surface’s normal, negative against it.
- 4SymmetricHalf the thickness to each side of the surface. The sign then makes no difference.
- 5ScopeThe solids Add and Remove work on; empty means every solid the thick shape meets. Click the slot, then solids. Hidden for New.
- 6ApplyWrites thicken(thickness, surfaces). Exit closes the dialog without writing anything.
An open profile extruded 25 up as a surface, then thickened 2:
The code behind it
The dialog writes const s = … on a surface statement no variable names, so it can hand the surface to thicken, and names the statement Thicken n.
import { sketch, line, arc, extrude, thicken } from 'fluidcad/core';
import { coincident, distance, fix, horizontal, radius, tangent, vertical } from 'fluidcad/constraints';
// An open profile: a line, an arc and a line drawn end to end.
const profile = sketch('xy', () => {
const a = line([0, 0], [30, 0]);
const b = arc([30, 0], [50, 20], [30, 20]);
const c = line([50, 20], [50, 45]);
coincident(a.end(), b.start());
coincident(b.end(), c.start());
tangent(a, b);
tangent(b, c);
horizontal(a);
vertical(c);
fix(a.start(), [0, 0]);
distance(a.start(), a.end(), 30);
radius(b, 20);
distance(c.start(), c.end(), 25);
});
// Extrude on its Surface tab: the three curves swept 25 up, nothing filled.
// The result is a surface of three faces with no thickness.
const ribbon = extrude(25, profile).surface();
// Surfaces › Thicken: the surface given a 2 mm wall. A positive thickness
// grows along the surface's normal, here to the left of each curve as it was
// drawn, seen from above: into the bend. The solid takes the surface's place,
// so from here on `ribbon` names the solid.
thicken(2, ribbon);
Surfaces or faces selected before you click Thicken fill the Surfaces row. The selection goes in whole or not at all: with an edge or a vertex among it, the row opens empty.
Which side
A positive thickness grows along the surface's normal, a negative one against it:
- Faces of a solid point out of the material, so a positive thickness grows outward, away from the solid.
- A surface points the way it was made. For a surface extruded from a sketch, positive is to the left of each curve as it was drawn, seen from the side the extrusion goes to: a line drawn from
[0, 0]to[20, 0]and extruded up thickens toward +Y. An imported surface points wherever the file made it point.
You do not need to work it out: the preview shows the side before you apply. To go the other way, change the sign; to straddle the surface, turn on Symmetric. The ribbon above, seen from the top; its first wall stands on the X axis (the red line):

thicken(2, ribbon)Into the bend: the left of each curve as it was drawn.

thicken(-2, ribbon)Out of the bend: the other side of the surface.

thicken(2, ribbon).symmetric()1 to each side, the surface in the middle.
A curved surface has a limit on its inside: a wall thicker than the tightest bend there would fold over itself. The dialog then says so instead of drawing a preview (see Errors); thicken to the other side, use Symmetric, or give a smaller thickness.
What a click takes
| You click | The row takes | Written as |
|---|---|---|
| A face of a surface, in the viewport | That face | A selector, such as s.sideFaces(1) |
| The face of a surface that is a single face, such as an extruded line | The whole surface | Its variable, s |
| The timeline row of a surface | The whole surface: every face, and every surface the statement holds | Its variable |
| A face of a solid | That face | A selector, such as box.sideFaces(face().…) |
On a face, double-click to take the whole group it belongs to, such as every side face of an extrude, or right-click for a menu of its groups (its tangent faces, the faces of the feature that made it); hover an item to preview it, click it to add it. Several picks are written as a list: thicken(2, [s, wing]) (see Several surfaces). A solid's timeline row is not taken: a whole solid has no open rim to thicken from, so pick its faces.
A face of a surface a split cut in pieces is written through the split, which the dialog binds to a variable when it has none. A wall with a window cut out of it holds the disc and the holed wall in one statement; a click on the disc takes the disc alone, and the split's timeline row takes both:
const sp = split(c, wall3).name('Split 2');
thicken(2, sp.back()).name('Thicken 1');
sp.front() names the pieces on the front of the cut, sp.back() those behind it.
What becomes of the surface
| Input | After thickening |
|---|---|
| A whole surface | Used up: the solid takes its place. The variable that named the surface names the solid from then on, so a later fillet(…, s.sideEdges(…)) or translate(…, s) reaches the solid. With Remove nothing takes its place: the surface became the void it cut. |
| Faces of a solid, or some faces of a surface | Left as they are. The solid is built on a copy of the faces. |
Add, Remove, New and Scope
The tabs work as they do on an extrude. One block and one curved surface standing in it, thickened 2 with each tab:

thicken(2, wall)Fused with the block it meets: one solid, a fin standing on the block.

thicken(2, wall).new()A body of its own, overlapping the block.

thicken(2, wall).remove()Cut out of the block: a slot the shape of the surface. The part above the block cuts nothing.
The code behind Add
import { sketch, plane, line, arc, extrude, thicken } from 'fluidcad/core';
import { coincident, distance, fix, horizontal, radius, vertical } from 'fluidcad/constraints';
// The base part every column shares: a 60 x 30 block, 10 thick.
sketch('xy', () => {
const a = line([0, 0], [60, 0]);
const b = line([60, 0], [60, 30]);
const c = line([60, 30], [0, 30]);
const d = line([0, 30], [0, 0]);
coincident(a.end(), b.start());
coincident(b.end(), c.start());
coincident(c.end(), d.start());
coincident(d.end(), a.start());
horizontal(a);
vertical(b);
horizontal(c);
vertical(d);
fix(a.start(), [0, 0]);
distance(a.start(), a.end(), 60);
distance(b.start(), b.end(), 30);
});
extrude(10);
// A curved surface standing in the block: an arc 5 above the floor, swept 25
// up, so its lower part is inside the block and its upper part above it.
const bow = sketch(plane('xy', 5), () => {
const arch = arc([10, 12], [50, 12], [30, 27]);
fix(arch.start(), [10, 12]);
fix(arch.end(), [50, 12]);
radius(arch, 25);
});
const wall = extrude(25, bow).surface();
// Add tab (the default): the 2 mm solid is fused with the block it meets.
thicken(2, wall);
The code behind New
import { sketch, plane, line, arc, extrude, thicken } from 'fluidcad/core';
import { coincident, distance, fix, horizontal, radius, vertical } from 'fluidcad/constraints';
// The base part every column shares: a 60 x 30 block, 10 thick.
sketch('xy', () => {
const a = line([0, 0], [60, 0]);
const b = line([60, 0], [60, 30]);
const c = line([60, 30], [0, 30]);
const d = line([0, 30], [0, 0]);
coincident(a.end(), b.start());
coincident(b.end(), c.start());
coincident(c.end(), d.start());
coincident(d.end(), a.start());
horizontal(a);
vertical(b);
horizontal(c);
vertical(d);
fix(a.start(), [0, 0]);
distance(a.start(), a.end(), 60);
distance(b.start(), b.end(), 30);
});
extrude(10);
// A curved surface standing in the block: an arc 5 above the floor, swept 25
// up, so its lower part is inside the block and its upper part above it.
const bow = sketch(plane('xy', 5), () => {
const arch = arc([10, 12], [50, 12], [30, 27]);
fix(arch.start(), [10, 12]);
fix(arch.end(), [50, 12]);
radius(arch, 25);
});
const wall = extrude(25, bow).surface();
// New tab: the 2 mm solid is kept as a body of its own, overlapping the block.
thicken(2, wall).new();
The code behind Remove
import { sketch, plane, line, arc, extrude, thicken } from 'fluidcad/core';
import { coincident, distance, fix, horizontal, radius, vertical } from 'fluidcad/constraints';
// The base part every column shares: a 60 x 30 block, 10 thick.
sketch('xy', () => {
const a = line([0, 0], [60, 0]);
const b = line([60, 0], [60, 30]);
const c = line([60, 30], [0, 30]);
const d = line([0, 30], [0, 0]);
coincident(a.end(), b.start());
coincident(b.end(), c.start());
coincident(c.end(), d.start());
coincident(d.end(), a.start());
horizontal(a);
vertical(b);
horizontal(c);
vertical(d);
fix(a.start(), [0, 0]);
distance(a.start(), a.end(), 60);
distance(b.start(), b.end(), 30);
});
extrude(10);
// A curved surface standing in the block: an arc 5 above the floor, swept 25
// up, so its lower part is inside the block and its upper part above it.
const bow = sketch(plane('xy', 5), () => {
const arch = arc([10, 12], [50, 12], [30, 27]);
fix(arch.start(), [10, 12]);
fix(arch.end(), [50, 12]);
radius(arch, 25);
});
const wall = extrude(25, bow).surface();
// Remove tab: the 2 mm solid is cut out of the block, a slot the shape of the
// surface; the part above the block cuts nothing and leaves no body.
thicken(2, wall).remove();
Scope narrows Add and Remove to the solids you pick: click the Scope slot, then a face or an edge of each solid, or its row in the timeline; a second click takes a solid off. Empty, it means every solid the thick shape meets. The slot is hidden on New, which has no boolean to narrow. The statement gains .scope(…).
Faces of a solid
Pick faces of a solid to grow a skin on them: a lining, a cover, a wall to build on. The faces point out of the material, so a positive thickness grows outward. The solid keeps its faces; use New to keep the skin apart from it.

The code behind it
import { sketch, line, extrude, thicken, color } from 'fluidcad/core';
import { coincident, distance, fix, horizontal, vertical } from 'fluidcad/constraints';
// A 40 x 30 block, 20 high.
sketch('xy', () => {
const a = line([0, 0], [40, 0]);
const b = line([40, 0], [40, 30]);
const c = line([40, 30], [0, 30]);
const d = line([0, 30], [0, 0]);
coincident(a.end(), b.start());
coincident(b.end(), c.start());
coincident(c.end(), d.start());
coincident(d.end(), a.start());
horizontal(a);
vertical(b);
horizontal(c);
vertical(d);
fix(a.start(), [0, 0]);
distance(a.start(), a.end(), 40);
distance(b.start(), b.end(), 30);
});
const block = extrude(20);
// Two neighbouring side faces of the block, the two facing the camera here,
// thickened 3 outward as a body of their own. The faces of a solid point out
// of the material, so a positive thickness grows away from the block; where
// the two faces meet, the two walls are extended to meet again in a square
// corner. The block keeps its faces.
const skin = thicken(3, block.sideFaces(2, 3)).new();
// Painted only so the picture tells the skin from the block.
color('#5b9bd5', skin);
Sharp edges
Faces that meet smoothly, as a line and an arc tangent to it do, are thickened face by face. Where faces meet at a sharp edge, offsetting each on its own would leave a gap outside the corner and an overlap inside it, so the thickened faces are extended or trimmed until they meet again: the corner is mitred. Outside a corner the two walls meet in a square corner, as the skin above does; inside a corner they are cut back where they meet.
A free-form face cannot always be extended that far: the lofted wall of a vase, thickened outward round its flat bottom, is one. There the outside corner is rounded instead, with the thickness as its radius.
Several surfaces
Several surfaces in one statement, thicken(2, [a, b]), are not mitred as the faces of one surface are: each is thickened on its own, then the solids are added together. Where two meet smoothly, such as a lid tangent to the wall it closes, or overlap once thickened, they become one solid; surfaces apart stay one solid each.
Two walls standing in an L, each a surface of its own, thickened into the corner they make:
The code behind it
Both walls point into the L, so a positive thickness grows them into the corner, where they overlap and fuse.
import { sketch, line, extrude, thicken } from 'fluidcad/core';
// Two walls standing in an L, each a surface of its own: a line extruded 20
// up on the Surface tab. The lines are drawn end to end, the first along X
// to the corner at [0, 30], the second along Y from there.
const a = extrude(20, sketch('xy', () => {
line([30, 30], [0, 30]);
})).surface();
const b = extrude(20, sketch('xy', () => {
line([0, 30], [0, 0]);
})).surface();
// Both walls point into the L, to the left of each line as it was drawn, so
// a positive thickness grows them into the corner, where they overlap. Each
// is thickened on its own and the two solids are added together: one solid.
// thicken(-2, [a, b]) would grow them away from the corner, where they would
// only touch along it, and is refused.
thicken(2, [a, b]);
Where two surfaces meet at a sharp edge and are thickened away from it, as these walls are with thicken(-2, [a, b]), or a box's walls and a lid kept apart on its rim (fill(…).new()) are when thickened outward, their solids only touch along that edge. That makes no one solid: the statement is refused (see Errors), and the surfaces stay as they were. The dialog says so in orange beside the preview, which still draws the solids, and Apply writes nothing until you change the thickness or the surfaces. Thicken toward the inside of the corner, thicken each surface in its own statement, or choose New to keep the solids apart. Delete face closes an opened box this way, its walls and its lid thickened inward.
Colours
A colour painted on a surface stays on the solid's start faces, the ones on the surface's side, when a whole surface is thickened to one side into a body that stands on its own: on New, or on Add with nothing to fuse with. A solid fused with others, a symmetric one, or one built on some faces does not keep it; paint the solid instead.
Editing
Double-click the Thicken row in the timeline. The view rolls back to just before the statement and the dialog reopens: one chip per surface the statement names, as written, and the tab, Thickness, Symmetric and Scope as written. The preview reads the surfaces as they were before the statement used them up. A face written through a split, such as sp.back(), reopens on its chip as written; take it off and click a face of the other piece to thicken that one instead.
A chip's ✕ takes a surface off and a pick adds one after the others; the surfaces you leave are written back exactly as they were. Apply rewrites only what you changed: turning Symmetric off takes .symmetric() out and leaves the rest of the statement alone, and switching to New drops the .scope(…) chain. A statement written in a form the dialog cannot hold, such as a thickness or surfaces that are not plain arguments, opens no dialog: a message says why, and you edit it in the source.
In code
import { thicken } from 'fluidcad/core';
thicken(2, s); // 2 along the surface's normal, fused with what it touches
thicken(-2, s); // to the other side
thicken(3, s).symmetric(); // 1.5 to each side
thicken(2, s).new(); // a body of its own
thicken(2, s).remove(); // cut out of the model
thicken(2, s).scope(block); // fused with block only
thicken(2, [s1, s2]); // several surfaces, each thickened, then added together
thicken(1, box.sideFaces()).new(); // faces of a solid, outward
| Argument | Takes |
|---|---|
thickness | A length or an expression, not zero. Positive goes along the faces' normals, negative against them. |
surfaces | A surface (the statement that made it: extrude(…).surface(), a load() of a STEP surface), a selection of faces of a surface or of a solid (box.sideFaces(), select(face()…)), or a list of those. |
| Chained method | Meaning |
|---|---|
.symmetric() | Half the thickness to each side. |
.add() | The default: fused with the solids it touches. |
.new() | Kept as a body of its own. |
.remove() | Cut out of the solids it passes through, leaving no body of its own. |
.scope(...solids) | Add or Remove with these solids only. |
The result names its faces and edges as an extrude's do:
const th = thicken(2, s);
th.startFaces() // the faces on the surface's side (with .symmetric(), half the thickness behind it)
th.endFaces() // the faces on the far side
th.sideFaces() // the wall round the rim
th.startEdges() // the edges of the start faces
th.endEdges() // the edges of the end faces
th.sideEdges() // the wall's edges between them
Each takes an index or a filter: th.endFaces(0), th.sideEdges(edge().line()). After a fuse they name the faces of the fused solid.
Errors
| Situation | Message |
|---|---|
| The thickness is zero | thicken: the thickness is zero. |
| The thickness reaches past the surface's tightest bend on the side it grows to | thicken: the thickness is larger than the surface's tightest bend allows on this side. |
| A closed surface, with no rim | thicken: the surface is closed, so thickening it would enclose a void. |
| A whole solid | thicken: a whole solid has no open rim to thicken from. |
| The surfaces argument names no faces | thicken: the surfaces argument holds no faces. |
| Several surfaces meeting at a sharp edge, added, thickened away from it so that their solids only touch along it | thicken: the surfaces meet at a sharp edge; thickened outward they only touch along it. With a negative thickness it says inward: the word names the sign, along the faces' normals or against them. |
| The kernel could not make a sound solid | thicken: could not build a solid from this surface (…what went wrong…). |
| Edges, a curve or a sketch given as the surfaces | thicken is an edge selection; it needs faces. (or a curve, a sketch) |
.thin(), .draft(), .drill(), .region() or .endOffset() chained on it | thicken: .thin() does not apply. |
| Remove with no solid in scope | thicken has nothing to remove — no solid is in scope. … |
The dialog refuses a zero thickness before it asks the engine: Enter a thickness other than zero: a negative one goes to the other side. The sharp-edge refusal shows beside the preview, which still draws the solids, and Apply holds until the thickness or the surfaces change. The other refusals show in the dialog in place of the preview, in the words above.