A honeycomb table is a wooden table top that is milled into hexagonal cells, with a joint of clear or frosted acrylic (or cast epoxy) running between them. Put a small LED board under every cell and the joints glow in a honeycomb pattern, or let the table react to touch cell by cell. The work happens on the CNC router, and the hard part is not the milling itself but getting clean CAM geometry: a pocket boundary, the cells as islands, and on the back side a pocket per cell for the electronics with openings for the wiring. This generator produces exactly that geometry as millimeter SVG files, and lets you shape the table by switching off cells.
How to Use the Generator
- Choose the pattern. Hexagons gives the classic honeycomb. Rhombi splits every hexagon into three rhombi, which is the well-known tumbling blocks or 3D cube pattern.
- Set the grid. The cell size is the hexagon width across flats, the gap is the joint width between neighboring cells, columns and rows count hexagons, and the margin adds a frame around the grid. The resulting table size is shown next to the fields and as dimensions on the drawing.
- Decide the edge. Whole cells keeps only complete cells inside the table. Mill to edge continues the pattern and cuts the cells at the table edge, so the honeycomb runs off the sides of the table.
- Shape the table. Click a cell to remove it, click again to restore it. Press and drag across the drawing to remove or restore many cells in one stroke. Removed cells are drawn dashed and are left out of every export, which is how you leave room for a leg, a cable duct or an organic outline.
- Tune the back side. Under Back side & cable openings you set the direction and width of the two openings that cut through each ring.
- Export. Top SVG, Back SVG or both in one file. Copy link stores the whole design including removed cells in the URL, so you can bookmark or share it.
The Geometry of the Grid
The cells are flat-topped regular hexagons. A hexagon with side length \(s\) measures \(\sqrt{3}\,s\) across flats and \(2s\) across corners, so the side follows from the cell size \(F\) you enter:
\[s = \frac{F}{\sqrt{3}}\]Flat-topped hexagons tile the plane in columns. Neighboring columns are \(\tfrac{3}{2}s\) apart and every odd column is shifted down by half a cell, while cells in one column are \(\sqrt{3}\,s = F\) apart:
\[\Delta x = \tfrac{3}{2}\,s, \qquad \Delta y = \sqrt{3}\,s, \qquad y_{c,r} = r\,\Delta y + (c \bmod 2)\,\frac{\Delta y}{2}\]The joint is created by shrinking every cell: each edge moves inward by half the gap \(g\), so two neighboring cells end up exactly \(g\) apart and every joint in the table has the same width. A shrunken hexagon measures \(F - g\) across flats and \(2s - \tfrac{2g}{\sqrt{3}}\) across corners. For \(C\) columns and \(R\) rows the grid therefore spans
\[W_\text{grid} = \tfrac{3}{2}\,s\,(C-1) + 2s - \frac{2g}{\sqrt{3}}, \qquad H_\text{grid} = (R-1)\,F + \frac{F}{2}\,[C>1] + F - g\]and the table adds the margin \(m\) on every side: \(W = W_\text{grid} + 2m\) and \(H = H_\text{grid} + 2m\). With the defaults (\(F = 90\) mm, \(g = 10\) mm, 10 × 5 cells, \(m = 10\) mm) this gives a table of about 814 × 505 mm.
For the rhombus pattern every hexagon is split into three rhombi that meet in its center, with angles of 60° and 120°. Each rhombus is shrunk by \(g/2\) the same way, so the joints of the cube pattern have the same width as in the honeycomb.
When you choose Mill to edge, the table rectangle stays the same, but the generator adds three extra rings of cells around the grid and clips every cell polygon to the table with the Sutherland–Hodgman algorithm. Cells that would become slivers smaller than 0.0001 mm² are dropped.
Milling the Top: One Pocket with Islands
The top file contains the table rectangle on layer TABLE_BOUNDARY and every active cell as a closed path on layer CELL_ISLANDS. In the CAM software you create a single pocket operation inside the boundary and mark the cells as islands. The pocket clears the joints and the margin, the cells stay standing. This is far more robust than tracing hundreds of individual joint contours, and every cell keeps a defined outline even at the table edge.
The endmill has to fit into the joint, so choose a cutter diameter no larger than the gap, for example a 6 mm cutter for a 10 mm joint. The island corners are outside corners and stay sharp; only the inside corners of the pocket at the table frame get the cutter radius. Mill the pocket to the depth of your acrylic inlay or epoxy pour, fill it, and plane or face the top flush once the filling has cured.
Milling the Back: Rings for the Electronics
After flipping the panel, every active cell gets a ring. The generator sizes the ring from the largest circle that fits into the cell around its centroid: with \(d\) the shortest distance from the centroid to a cell edge,
\[r_\text{out} = 0.84\,d - \max(0.8,\ 0.12\,g), \qquad r_\text{in} = 0.68\,r_\text{out}\]so the ring never touches the cell edge and leaves enough wood between the electronics pocket and the joint. The back file contains three operations per cell:
- Electronics pocket. Pocket inside
BACK_INNERfor the LED board or touch sensor. - Clearing to the acrylic. Pocket inside
CELL_BOUNDARYwithBACK_OUTERas an island. This removes the wood between the ring and the joint down to the acrylic, so light reaches the joint from below. - Cable openings. The two annular sectors on
BACK_OPENINGScut through the ring so the wiring can pass from cell to cell. Their half angle is \(\varphi = \frac{w}{2\,r_\text{mid}}\) with \(r_\text{mid} = \tfrac{1}{2}(r_\text{in} + r_\text{out})\), so the width \(w\) you enter is the arc width on the middle of the ring.
The opening angle sets the wiring direction. At 90° the openings point up and down and line up along each column of hexagons, which is convenient for daisy-chained LED strips. At 0° they point left and right.
The Exported Files
All files are plain SVG with mm units and a matching viewBox, so one SVG unit is one millimeter in any CAM program that respects the document size. The table starts at the origin and all coordinates are positive. Every operation has its own named group and color:
| Layer | Color | Use |
|---|---|---|
TABLE_BOUNDARY | blue | Outer pocket boundary, also the panel outline |
CELL_ISLANDS | black | Top: islands of the joint pocket |
CELL_BOUNDARY | black | Back: limit of the clearing pocket |
BACK_OUTER, BACK_INNER | red | Back: ring outline and electronics pocket |
BACK_OPENINGS | green | Back: two cable openings per ring |
The stroke width is only there to make the paths visible when you open the file; CAM software uses the path geometry. Remember that the back side is milled after flipping the panel: mirror the back file in your CAM setup around the axis you flip about, or flip the stock around the same axis that you use for the zero point.
Practical Tips
- Test a corner first. Mill a 2 × 2 cell sample with the same cutter, gap and filling. The visual weight of the joint changes a lot between 6 and 12 mm.
- Epoxy needs a seal coat. Seal the milled pocket with a thin epoxy coat before the main pour, so air in the wood pores does not rise as bubbles.
- Leave a frame. A margin of at least 10 mm keeps the panel stable while milling and gives the clamps something to hold. With Mill to edge the frame is cleared as well, so plan to trim the panel or add a separate edge band.
- Use removed cells. Removing cells at the corners or along a line leaves solid wood for legs, connectors or a cable duct, and the back file automatically skips their rings.