3D Printing Generator
DeutschEnglish

Raised-bed corner connector: print it for your boards

What is the raised-bed corner connector?

A raised-bed corner connector holds two boards at an angle without a single piece of wood being cut at an angle. The boards stand on edge in two open channels that meet at a round column. This generator makes that connector for your own boards: you enter the width and the thickness, and you get a corner for a raised bed, a hexagonal bed, a fence run or a compost bay. Besides the corner there is an end cap for the end of a run, a T for a divider and a cross for a grid of boards. Browse the examples to see what is possible.

Raised beds built from plain boards are cheap and quick, but the corners are where they fail. Screwing boards to a corner post works, yet the screws rust, the wood splits and the post rots in the ground. A printed connector replaces the post. The boards slide into the channels from above, a few screws fix them, and the soil presses them against the walls. When a board rots after ten years, you pull it out and drop a new one in.

How the generator works

The generator runs entirely in your browser. Nothing is uploaded, and every design you make is stored in the link, so you can send the exact connector to a friend or save it as a bookmark. Open the editor, set the board size, check the preview and download an STL or 3MF file. The connector has one color.

The design combines two open-source projects. The connector with its channels, the stop faces on the column, the stacking cones, the double-taper peg and the staggered screws comes from an OpenSCAD design by morganp. The idea of more than two channels on one post, and of a bore for a ground anchor, comes from garden-edge-boards by je-sidestuff. Both are credited at the end of this page.

Measuring your boards

Everything starts with two measurements. Use calipers if you have them.

  • Board width is the dimension that stands upright, 20–160 mm. Typical values are 100, 120, 145 or 150 mm.
  • Board thickness is the dimension that goes into the channel, 6–45 mm. Typical values are 19, 22, 28 and 40 mm.

Measure the thickest board in the pile. Timber of the same nominal size varies by several millimeters, and a rough-sawn board is often thicker than the number on the label. The “Fit” setting is the total slack across the thickness. The default 1 mm suits rough-sawn timber; 0.5 mm is better for planed boards; 0 is for a board that is exactly measured and never swells.

A few common presets from the examples:

BoardsSettingsExample
150 × 22 mm, rough-sawn sprucedefaults90° corner
145 × 28 mm, Douglas firwidth 145, thickness 28, wall 6Douglas fir corner
140 × 40 mm plankswidth 140, thickness 40, column 52heavy corner
120 × 20 mm, hexagonangle 120°hexagon corner

Choosing the layout

The “Layout” setting decides how many channels leave the column.

  • End cap has one channel. It closes the end of a run or holds the last board of a fence.
  • Corner has two channels at the “Corner angle”, from 45° to 180°. Use 90° for a square bed, 120° for a hexagon and 135° for an octagon. At 180° the connector joins two boards in a straight line. The boards stay square cut at every angle, which is the point of the design.
  • T adds a third channel opposite the corner. It is the connector for a divider inside a bed or for a fence run that branches.
  • Cross has four channels and joins two walls where they cross, for example in a bed that is split into four compartments.

The second setting, “Part”, decides what you print: the “Connector”, the “Peg” or “Both” on one plate. At small angles the column grows by itself so the channels do not cut into each other, and the editor shows a warning. If a connector would be larger than 180 mm, the channels are shortened and you get a warning as well.

The channels

Each channel is a U-shaped trough, open at the top. The board stands in it, and the walls hold it against soil pressure.

  • “Channel length” (20–120 mm, default 100) is how far the board runs inside the channel. Longer channels hold the board more stiffly; short ones of 50–60 mm are enough for dividers and end caps.
  • “Wall thickness” (2.4–10 mm, default 5) matters most for strength. Five millimeters with four perimeters hold the soil pressure of a normal raised bed.
  • “Floor thickness” (3–12 mm, default 6) is the slab the board rests on at both ends. It is also the surface on which the next connector sits when you stack.
  • “Floor fall” (0–6 mm) lets the floor fall from both ends to a drain hole in the middle, so rain runs off and does not soak the end grain. The “Drain hole” is 6 mm by default; set it to 0 to leave it out.
  • “Top gap” (0–5 mm) leaves air above the board, so the connector above rests on the connector below and not on the wood. The wood can then swell or shrink without carrying the weight of the next course.
  • “Lead-in height” and “Lead-in flare” make a flared mouth at the top of each channel, so a board with a slightly rough end finds its way in.

Column, stacking and ground anchor

The round column is where everything meets. “Column diameter” (20–80 mm, default 36) sets its size. “Bore” (6–40 mm, default 20) is a straight hole through the whole connector. It drains the column and takes a rod or tube as a ground anchor. If you build a bed on grass, a 16 mm rebar through the bore of the bottom connector keeps the corner from moving in the wind or under the soil.

For stacking, the bore opens into a cone at the top and the bottom face. “Cone diameter” (default 26 mm) and “Cone height” (default 25 mm) shape it. When you put one connector on another, the two cones form a pocket. The stacking peg fills this pocket: a double cone with two halves of 25 mm, so the peg is about 48 mm long and prints in under an hour.

  • “Peg clearance” is the difference between the peg and the bore. The default −0.2 mm wedges the peg in the cone and holds it by friction. 0 slides freely; −0.4 mm needs a mallet.
  • “Peg top shortening” makes the upper half 2 mm shorter, so the connector above always sits on the one below and the peg never props it up.

The height of one connector is floor + board width + top gap. With the defaults that is 157 mm, so a bed of three courses is 471 mm high when you stack three connectors with two pegs.

Screws

With “Screw holes” on, each channel wall gets two countersunk holes. The holes on the left and right wall are offset against each other, so two screws from both sides never meet in the middle of the board. “Screw hole” (2–6.5 mm) is a clearance hole: 4.5 mm for 4 mm outdoor screws, 5.5 mm for 5 mm screws. “Countersink” (0–14 mm) is the head diameter, about twice the screw size; below the hole size there is no countersink. Use stainless or coated deck screws, and pre-drill the board when it is hardwood. Turn the screws off if you only want to wedge the board.

Printing

Print the connector upright, as the preview shows it. Nothing needs supports: the screw holes are teardrop-shaped, and the cones have a 65° roof. The sliced numbers below come from PrusaSlicer on a Prusa MINI, 0.20 mm SPEED profile, Prusament PLA, auto-supports off.

PartFilamentPrint time
90° corner for 150 × 22 mm boards245 g8 h 3 min
Corner for 145 × 28 mm boards256 g8 h 32 min
Heavy corner 140 × 40 mm261 g8 h 26 min
T for a divider232 g8 h 5 min
Cross232 g8 h 9 min
135° octagon corner219 g7 h 27 min
End cap100 g3 h 52 min
Stacking peg7.8 g51 min

These are long prints, so do the fit test first. The fit test section cuts the connector to 40 mm of board height, with a peg on the same plate, and takes 50 g and about two hours. Check the board slides in, then print the full height.

For the material, use PETG or ASA. Both take frost, and ASA is the more UV-stable of the two. PLA works for the test piece but softens at around 55 °C, which a dark connector in the summer sun can reach. Print with four or more perimeters, a layer height of 0.2–0.3 mm and moderate infill; the walls carry the load.

Assembly

Test the fit with a spare board end. If it is tight, raise “Fit” and print again. Stand the first connector on a level base, press the boards into the channels and drive the screws. For a second course, set a peg in the cone of the first connector, put the next connector on top and press down. If you want the bed anchored, push a rod through the whole stack before you fill it.

A level base matters more than anything else. A raised bed on concrete slabs or well-packed gravel stays straight; a bed on soft soil can twist the connectors.

Examples to start from

If you also grow plants indoors, the plant pot generator makes pots for them, and you can find all examples of this generator on the gallery page.

Credits and licenses

The generator is a JavaScript port of the connector in OpenSCAD_fenceboard_corner by morganp (MIT license): the column with stop faces, the open channels with lead-in, the sloped floor with drain, the staggered countersunk screws and the stacking cones with the double-taper peg. The idea for more than two channels on one post and for a through conduit for a ground anchor comes from garden-edge-boards by je-sidestuff (MIT license); the T and cross layouts are an original implementation of that idea. Both license texts are on the licenses page. Changes to the original: channels shortened to fit a 180 mm bed, a column that grows at tight angles, and teardrop screw holes so the connector prints without supports.

All parameters

The numeric settings of the generator with their default values and allowed ranges. Text, fonts, patterns and colors are set directly in the generator.

ParameterDefaultRangeMeaning
Layout
Corner angle90 °45 – 180 °Angle between the two channels: 90° for a square bed, 120° for a hexagon, 135° for an octagon. The boards stay square cut at any angle.
Board
Board width150 mm20 – 160 mmWidth of the board standing on edge in the channel. Height of the connector = floor + board width + top gap, so stacked connectors match one board course each.
Board thickness22 mm6 – 45 mmMeasure the thickest board: rough-sawn and planed boards of the same nominal size differ by several millimeters.
Fit1 mm0 – 3 mmTotal slack across the board thickness. 1 mm suits rough-sawn timber; 0.5 mm for planed boards.
Channels
Channel length100 mm20 – 120 mmLength of each channel from the board stop face. Shortened automatically when the connector would not fit a 180 mm bed.
Wall thickness5 mm2.4 – 10 mmThickness of the channel walls. 5 mm with 4 perimeters is sturdy enough for soil pressure on a raised bed.
Floor thickness6 mm3 – 12 mmSlab the board rests on at the channel ends; also the face two stacked connectors sit on.
Floor fall3 mm0 – 6 mmHow far the channel floor falls from both ends to the drain at mid length, so water runs off instead of soaking the board end.
Top gap1 mm0 – 5 mmFree space above the board, so the next connector sits on the one below and not on the board.
Lead-in height8 mm0 – 20 mmHeight of the flared mouth at the top of the channel that lets a board drop in. 0 = straight walls.
Lead-in flare3 mm0 – 5 mmHow far each wall opens outward at the very top. Kept at least 1.2 mm thinner than the wall.
Drain hole6 mm0 – 12 mmHole at the low point of each channel floor. 0 = no drain hole.
Column and stacking
Column diameter36 mm20 – 80 mmOutside diameter of the round column. The boards butt against its flat stop faces; it grows by itself at tight angles.
Bore20 mm6 – 40 mmStraight hole through the column: drains it and takes a rod, tube or rebar as a ground anchor through the whole stack.
Cone diameter26 mm6 – 50 mmBore diameter at the top and bottom faces. The cones of two stacked connectors form one pocket for the peg.
Cone height25 mm5 – 40 mmDepth of each stacking cone, also the height of each half of the peg.
Peg clearance-0.2 mm-0.6 – 1 mmDifference between peg and bore diameter. Negative values wedge the peg in the cone: −0.2 is snug, 0 slides, −0.4 needs a mallet.
Peg top shortening2 mm0 – 10 mmThe upper half of the peg is this much shorter, so the connector above always rests on the one below.
Screws
Screw hole4.5 mm2 – 6.5 mmClearance hole: 4.5 mm for 4 mm outdoor screws, 5.5 mm for 5 mm screws.
Countersink9 mm0 – 14 mmHead diameter of countersunk screws (about twice the screw size). Below the hole size there is no countersink.

Frequently asked questions

Which boards does the connector fit?

Any board that stands on edge: set “Board width” and “Board thickness” to the measured size and the channel is built around it. With the default “Fit” of 1 mm it takes rough-sawn timber; use 0.5 mm for planed boards.

How do I build a raised bed higher than one board?

Stack connectors. The height of one connector is floor + board width + top gap, so each one matches exactly one board course. Two stacked connectors join with the stacking peg (“Part”: Peg), which you push into the cones of both.

Which material should I use outdoors?

PETG or ASA. PLA softens in a hot sun, becomes brittle in frost and is not UV stable, so it is only good for fit tests. Print the connector with at least four perimeters.

Do I need supports?

No. The connector prints upright with teardrop-shaped screw holes and cones with a 65° roof. Sliced for a Prusa MINI, all thirteen examples came out without automatic supports.

Can I fix the connector to the ground?

Yes. The bore runs straight through the whole stack. Push a steel rod, a tube or a piece of rebar through it into the soil and the corner cannot lean or lift, even in a bed with no floor.

My boards are wider than 160 mm. What now?

The connector stands upright and must fit a 180 mm printer, so “Board width” stops at 160 mm. For taller walls use boards of 100–150 mm and stack several connectors with pegs, one per board course.

Origin & license

  • Fence Board Corner Post Adapter by morganp · MIT · code ported – connector from fence_corner.scad: round column with stop faces, open-topped channels with lead-in, floor falling to a drain, staggered countersunk screws, bore with stacking cones and double-taper peg
  • garden-edge-boards by je-sidestuff · MIT · dimensions and shape adopted – posts with several board grooves (T and cross) and a through conduit for a ground anchor