Skip to main content

Plateau Foam: Smooth Lattices Grown Inside Your Parts on Bitbybit CAD Cloud

· 5 min read
A swirl node filled with Plateau foam on Bitbybit CAD Cloud under a 1 mm skin and cut open through its body: the closed skin round every lobe and the trunk, and the foam's smooth struts inside
The swirl node as an open foam on Bitbybit CAD Cloud, without a skin: struts where its cells meet its surface and along its own sharp edges, cut flush with its surface, with the foam inside seen through the open cells

The same part twice: filled under a closed skin, cut open to show the foam inside, and grown as an open lattice whose struts trace its surface and its edges.

A part does not have to be solid all the way through. Fill it with a foam of thin struts and it weighs a fraction of what it did, gives where it should, lets air or light through, or simply looks like nothing a solid part could. Bitbybit CAD Cloud now grows that foam for you: send a STEP file of a solid part, get the part back filled with a smooth open-cell foam, as one closed mesh ready for a slicer.

It is a Pro algorithm of CAD Cloud: it runs on our servers, and it is a single call over plain HTTP.

A foam that looks grown, not drawn​

Seeds scattered inside the part become cells, and the cells' edges become struts. The struts meet the way the borders of a soap foam meet, at even angles, and they blend into each other where they meet, so the foam has no sharp joints.

The swirl node as it was drawn: three lobes sweeping round a tapered trunk as they rise, a boss on each lobe and a flat face underneath, one solidClose to where the swirl node's largest lobe meets the trunk, cut open: the 1 mm skin round the lobe and the trunk's bore, and the foam's struts blending into it

The swirl node above is an ordinary B-rep solid, drawn on CAD Cloud itself: three lobes that sweep round a tapered trunk as they rise, a boss on each lobe and a flat face underneath. Filled with foam under a 1 mm skin and cut open through its body, the place where its largest lobe meets the trunk looks like the picture on the right. The renders in this post are made in Blender from the meshes CAD Cloud returned.

  • Seeds your way. Evenly spaced, random, on a grid, evened out in rounds, or every one placed by you.
  • Graded. Smaller cells and thinner struts near the surface, larger ones in the core, with the depth and the curve of the change yours to set.
  • Smooth. The struts blend where they meet, can bow away from straight lines, and the mesh is smoothed to follow the foam closely.
  • Struts on the surface too. Without a skin, the foam can carry struts along the part's surface and its own sharp edges, their rims sharp or rounded.

Keep the shell, hide the foam​

The part's own shell can stay. Ask for a skin and CAD Cloud keeps a closed skin of that thickness on the part's surface, blended into the struts: the part keeps its outside, and the foam is all inside it.

That is a part that prints closed and light, with the structure inside where nobody sees it. A closed skin would also keep the unsintered powder of a powder-bed printer, or the uncured resin of a resin printer, inside the foam, so the request can open escape holes: straight holes through the skin into the foam, at the points you name or click in Studio, for the powder or resin to run out. Plateau foam has the details.

An escape hole through the 1 mm skin on the swirl node's flat underside, cut through its axis: a straight round hole from outside, through the skin, into the open foam

An escape hole through the 1 mm skin on the swirl node's flat underside, cut through its axis where it opens into the foam.

From the surface to the core​

A slice through a sphere filled with a graded foam: small cells and thin struts near its surface, larger cells and thicker struts in its core

Grading changes the foam from the part's surface to its core: in this slice through a sphere, the cells are fine and the struts thin under its surface, and the cells larger and the struts thicker inside. A part can be dense where it is touched or loaded and open where it is not.

One call, one mesh​

The foam comes back as one closed triangle mesh, as STL or 3MF, standing Z-up as the STEP file stood, with a report of the seeds, the struts, the mesh and its volume. In Bitbybit Studio, the Lattices page grows it from a file you drop on it, sized to the part, with presets to start from and a cut view to look inside.

Bitbybit Studio's Lattices page with the swirl node loaded: the part in the 3D view and the settings sized to it, the presets, the seeds and the strut radius
Bitbybit Studio's Lattices page after growing the swirl node's foam, cut through its body and seen from above: the cut closed with a flat blue cap over the skin and every strut, the view's settings and the report beside it

In Studio the result can be cut along any axis, and the cut is closed with a flat blue cap, so the skin and the cut struts read as a section.

Foams like these make lightweight cores, cushioning, lamps and decorative pieces, and lattices with a large surface for heat to pass through. If you would rather build exact cells, frames and foams as B-rep geometry in your own app, our free packages do that too: see Voronoi patterns in Bitbybit.

Try it​

Every plan's API key can call every route, the Pro algorithms included; the plans differ in compute minutes, server speed and file sizes. Start in Bitbybit Studio on its Lattices page, or read Plateau foam for every option, the limits and a request to copy.

Want a foam inside a product of your own? Reach out to us.