Thick Solids from Complex Faces
Thick solids are powerful 3D modeling features that create volumetric objects by adding thickness to planar or curved faces. While simple circular or rectangular faces are common starting points, thick solids truly shine when working with complex, curved surfaces created through advanced operations like lofting.
Understanding Thick Solids
A thick solid operation takes a face (planar or curved) and extrudes it in the direction of its surface normal(s) to create a solid with the specified thickness. This operation is particularly useful for:
- Shell structures: Creating hollow objects with consistent wall thickness
- Architectural elements: Building walls, roofs, and structural components
- Mechanical parts: Designing brackets, housings, and enclosures
- Organic shapes: Creating complex curved objects with controlled thickness
Complex Face Creation Through Lofting
To demonstrate the versatility of thick solids, we'll create a complex curved face using the loft operation. Lofting creates a smooth surface between multiple cross-sectional curves, allowing us to build sophisticated organic shapes.
The Process
- Create Multiple Curved Cross-Sections: Use interpolation algorithms to create smooth curves through defined points
- Loft Between Curves: Generate a complex surface that smoothly transitions between the cross-sections
- Apply Thick Solid: Add uniform thickness to create a 3D solid
Convex vs Concave Considerations
Thick solid operations work on both:
- Convex faces: Outward-curving surfaces (like the outside of a sphere)
- Concave faces: Inward-curving surfaces (like the inside of a bowl)
The algorithm automatically determines the correct direction for thickness application based on the face normals.
Practical Applications
This technique is invaluable for:
- Product Design: Creating ergonomic handles, grips, and curved components
- Architecture: Designing complex roof structures and curved walls
- Art and Sculpture: Building organic, flowing forms
- Engineering: Developing aerodynamic shapes and fluid-flow components
Interactive Examples
The following examples demonstrate creating thick solids from complex lofted surfaces, showing how sophisticated 3D geometry can emerge from simple point-based definitions.

- Rete
- Blockly
- TypeScript
// Import required modules from global bitbybit variable
const { wire } = bitbybit.occt.shapes;
const { operations } = bitbybit.occt;
const { transforms } = bitbybit.occt;
const { InterpolationDto, LoftDto, ThisckSolidSimpleDto, TranslateDto } = Bit.Inputs.OCCT;
type Point3 = Bit.Inputs.Base.Point3;
type Vector3 = Bit.Inputs.Base.Vector3;
// Define a type alias for pointers
type TopoDSWirePointer = Bit.Inputs.OCCT.TopoDSWirePointer;
type TopoDSFacePointer = Bit.Inputs.OCCT.TopoDSFacePointer;
type TopoDSShapePointer = Bit.Inputs.OCCT.TopoDSShapePointer;
// Define points for bottom curve (wave-like pattern)
const bottomPoints = [
[-3, 0, -2],
[-1, 0, 0],
[0, 0, 1],
[1, 0, 0],
[3, 0, -2]
] as Point3[];
// Define points for middle curve (elevated and more curved)
const middlePoints = [
[-2, 2, -1],
[-0.5, 2, 1.5],
[0, 2, 2],
[0.5, 2, 1.5],
[2, 2, -1]
] as Point3[];
// Define points for top curve (simpler, less curved)
const topPoints = [
[-1.5, 4, 0],
[-0.5, 4, 0.5],
[0, 4, 1],
[0.5, 4, 0.5],
[1.5, 4, 0]
] as Point3[];
// Create interpolated wires from points
const bottomWireOpt = new InterpolationDto();
bottomWireOpt.points = bottomPoints;
bottomWireOpt.periodic = false;
bottomWireOpt.tolerance = 0.1;
const bottomWire = await wire.interpolatePoints(bottomWireOpt);
const middleWireOpt = new InterpolationDto();
middleWireOpt.points = middlePoints;
middleWireOpt.periodic = false;
middleWireOpt.tolerance = 0.1;
const middleWire = await wire.interpolatePoints(middleWireOpt);
const topWireOpt = new InterpolationDto();
topWireOpt.points = topPoints;
topWireOpt.periodic = false;
topWireOpt.tolerance = 0.1;
const topWire = await wire.interpolatePoints(topWireOpt);
// Create lofted surface from the three wires
const loftOpt = new LoftDto<TopoDSWirePointer>();
loftOpt.shapes = [bottomWire, middleWire, topWire];
loftOpt.makeSolid = false;
const loftSurface = await operations.loft(loftOpt);
// Create thick solid from the lofted surface
const thickness = 0.1;
const thickSolidOpt = new ThisckSolidSimpleDto<TopoDSFacePointer>();
thickSolidOpt.shape = loftSurface;
thickSolidOpt.offset = thickness;
const thickSolid = await operations.makeThickSolidSimple(thickSolidOpt);
// Translate the thick solid for better visualization
const offsetVector = [0, 0, 3] as Vector3;
const translateOpt = new TranslateDto<TopoDSShapePointer>();
translateOpt.shape = thickSolid;
translateOpt.translation = offsetVector;
const translatedSolid = await transforms.translate(translateOpt);
// Create drawing options for the original surface (green)
const surfaceOptions = new Bit.Inputs.Draw.DrawOcctShapeSimpleOptions();
surfaceOptions.precision = 0.01;
surfaceOptions.drawFaces = true;
surfaceOptions.faceColour = "#00ff00";
surfaceOptions.drawEdges = true;
surfaceOptions.edgeColour = "#ffffff";
surfaceOptions.edgeWidth = 2;
// Create drawing options for the thick solid (orange)
const solidOptions = new Bit.Inputs.Draw.DrawOcctShapeSimpleOptions();
solidOptions.precision = 0.01;
solidOptions.drawFaces = true;
solidOptions.faceColour = "#ff6600";
solidOptions.drawEdges = true;
solidOptions.edgeColour = "#ffffff";
solidOptions.edgeWidth = 2;
// Draw both the original lofted surface and the thick solid
bitbybit.draw.drawAnyAsync({ entity: loftSurface, options: surfaceOptions });
bitbybit.draw.drawAnyAsync({ entity: translatedSolid, options: solidOptions });
Hollowing a tray
operations.makeThickSolidByJoin hollows a solid: it takes away the faces you name and gives what remains a wall of thickness offset, inward when the offset is negative.
The order of the steps matters here. The removed face has to meet the walls at a sharp edge, so round the walls and the floor first, hollow, and round the rim last. Hollowing a block whose rim is already rounded can fail, give a broken solid, or hand the block back whole with no error, so check that the volume dropped:

- Rete
- Blockly
- TypeScript
const block = await bitbybit.occt.shapes.solid.createBox({ width: 10, length: 6, height: 3, center: [0, 1.5, 0] });
const uprights = await bitbybit.occt.select.edges.along({ shape: block, direction: [0, 1, 0] });
const walls = await bitbybit.occt.fillets.filletEdges({ shape: block, radius: 0.6, indexes: uprights });
const floorEdges = await bitbybit.occt.select.edges.extreme({ shape: walls, direction: [0, -1, 0] });
const body = await bitbybit.occt.fillets.filletEdges({ shape: walls, radius: 0.6, indexes: floorEdges });
const [topIndex] = await bitbybit.occt.select.faces.extreme({ shape: body, direction: [0, 1, 0] });
const top = await bitbybit.occt.shapes.face.getFace({ shape: body, index: topIndex });
const hollow = await bitbybit.occt.operations.makeThickSolidByJoin({ shape: body, shapes: [top], offset: -0.2 });
const rim = await bitbybit.occt.select.edges.extreme({ shape: hollow, direction: [0, 1, 0] });
const tray = await bitbybit.occt.fillets.filletEdges({ shape: hollow, radius: 0.08, indexes: rim });
const steel = new Bit.Inputs.Draw.DrawOcctShapeOptions();
steel.faceMaterial = bitbybit.draw.createPBRMaterial({ baseColor: "#eef0f2", metallic: 0.7, roughness: 0.3 });
steel.edgeColour = "#5f6773";
steel.drawTwoSided = false;
await bitbybit.draw.drawAnyAsync({ entity: tray, options: steel });
bitbybit.babylon.scene.adjustActiveArcRotateCamera({ position: [7, 12, -13], lookAt: [0, 1, 0] });
Thickening planar faces with mitred joints
bitbybit.occt.operations.thickenPlanarShell thickens a shell of planar faces into a solid without offsetting anything. Each face's plane moves by its thickness, each edge two faces share is cut by a mitre, the plane through the edge and the line where the two moved planes meet, and each hole, made of lines and circular arcs, becomes a straight tunnel through its face. Neighbours meet in exact joints whatever the angle between them, a face may hold hundreds of holes, and the result is built from planes and cylinders alone:
shapeis a shell, a solid or a compound of faces; faces that share an edge are joined there, matched by their corners.thicknessis every face's thickness, unlessthicknessesgives one a face, in the order the shape's faces are listed. Two coplanar neighbours must share one thickness.sideset toinwardthickens into a closed shell, which the faces' outlines must close, holes aside.normalandreversedthicken an open shell along or against each face's normal, and wall its free edges square to their faces.outputset tosolidjoins the pieces into one solid along their mitres;pieceskeeps one solid a face, in the faces' order.cuttingHolessays what happens to a hole whose tunnel would cut a mitre or a side of its piece:refusenames the face, the hole and the neighbour,closeleaves the hole out and reports it.
A face that is not planar, a thickness that leaves a face nothing, and a corner where four or more faces meet without their moved planes meeting in one point are refused. bitbybit.occt.operations.thickenPlanarShellWithReport thickens the same way and reports each face: its thickness, how many of its edges were mitred, cut square to a coplanar neighbour or walled, how many holes became tunnels, and which holes were closed.


- Rete
- Blockly
- TypeScript
const { planarThickenSideEnum } = Bit.Inputs.OCCT;
const star = await bitbybit.occt.shapes.solid.createStarSolid({ center: [0, 0, 0], direction: [0, 1, 0], numRays: 7, outerRadius: 30, innerRadius: 21, half: false, extrusionLengthFront: 70, extrusionLengthBack: 0 });
// Every face but the top: an open shell of planar faces, each facing out of the star.
const faces = await bitbybit.occt.shapes.face.getFaces({ shape: star });
const top = await bitbybit.occt.select.faces.facing({ shape: star, direction: [0, 1, 0], angle: 0 });
const open = await bitbybit.occt.shapes.compound.makeCompound({ shapes: faces.filter((_, index) => !top.includes(index)) });
// Each face thickened by 1.6 against its normal, into the star: neighbours meet in exact mitres, free edges are walled square.
const { shape: vase, report } = await bitbybit.occt.operations.thickenPlanarShellWithReport({ shape: open, thickness: 1.6, side: planarThickenSideEnum.reversed });
const mitres = report.faces.reduce((sum, face) => sum + face.mitres, 0);
const walls = report.faces.reduce((sum, face) => sum + face.walls, 0);
console.log(`${report.faces.length} faces, ${mitres} mitred edges, ${walls} walled edges`);
await bitbybit.draw.drawAnyAsync({ entity: vase });
bitbybit.babylon.scene.adjustActiveArcRotateCamera({ position: [75, 95, -120], lookAt: [0, 32, 0] });
The star's faces face out of the solid it came from, so reversed thickens them inward and the outside stays where the star was drawn. Every wall meets its two neighbours, at the points and in the hollows between them, and the floor in a mitre, so the vase is one solid with no seam to fill. The tea-light lantern thickens eight faces, six of them perforated with Voronoi holes, into one solid the same way.
Key Learning Points
Design Considerations
When working with thick solids from complex faces:
- Surface Continuity: Ensure your lofted surface has smooth transitions to avoid artifacts in the thick solid
- Thickness Distribution: The algorithm maintains consistent thickness perpendicular to the surface
- Self-Intersections: Complex shapes may create self-intersecting geometry; consider your design carefully
- Normal Direction: The thickness direction is determined automatically by face normals
Advanced Techniques
- Multi-Surface Lofting: Create even more complex shapes by lofting between numerous cross-sections
- Hybrid Operations: Combine with other OCCT operations like fillets, chamfers, or boolean operations
Performance Tips
- Point Density: Balance curve smoothness with computational efficiency
- Surface Complexity: More complex lofted surfaces require more processing time
- Memory Usage: Large thick solids can consume significant memory resources
Summary
Thick solids from complex lofted faces represent one of the most powerful techniques in 3D modeling. By combining:
- Interpolated curves for smooth cross-sections
- Loft operations for complex surface generation
- Thick solid operations for volumetric creation
You can create sophisticated 3D geometry that would be difficult or impossible to achieve through simple primitive operations. This approach bridges the gap between mathematical precision and organic design freedom.
