3D Printing Generator
DeutschEnglish

Fence post cap: measure, design and print your own

What is the post cap?

A post cap protects the end grain of a wooden post. That is where timber sucks up water like a straw, and where cracks, rot and gray weathering begin. A plastic cap keeps rain out, lets water drip off a drip edge and looks tidy as well. This generator prints a cap that fits your post, whether it is a fence post, a pergola support, a carport, a gate post or a tree stake.

You enter the size of your post and choose a roof: flat, pyramid or dome. Add a drip edge, an optional ball on the tip, holes for nails or screws, vent holes and an engraved house number. The example gallery shows 14 finished caps for posts from 50 mm to 140 mm, square, rectangular and round. You open any example in the generator with one click and adapt it.

Everything runs in your browser. Nothing is uploaded, and your design lives entirely in the link, which you can share or bookmark. At the end you download STL or 3MF and send it to the slicer. The cap is one part in one color.

Measuring the post

Everything depends on the size of the post, so use calipers. “Post shape” asks first what you are covering:

  • Square: you only enter the “Post width”. A 9 × 9 cm timber is usually 90 mm, an American 4×4 is 89 mm.
  • Rectangular: you also enter the “Post depth”, for example 120 × 80 mm for a carport post or 90 × 45 mm for a timber.
  • Round: the “Post width” is the diameter, for example 80 mm for a palisade.

The input runs from 20 to 150 mm. Measure near the top end of the post, because that is where the cap sits. Rough sawn timber often differs from its nominal size by a few millimeters, and wood swells when wet. Measure in two or three places and take the largest value.

Clearance

“Clearance” (0 to 3 mm, default 1 mm) is the gap between post and cap on every side. Planed, accurate timber needs only 0.5 mm. For rough sawn or swelling timber use 1 to 2 mm. A clearance that is too tight is more annoying than one that is too loose, because the cap will not go on at all. A loose cap can be tightened with the centring ribs and a screw or nail.

“Centring ribs” (0 to 3 mm, default 1 mm) are narrow ribs on the inner wall of the sleeve. They grip the post and keep the cap centred even when the clearance is large. With the default value, which equals the clearance, they touch the post exactly. For a press fit, make the ribs larger than the clearance, for example 2.2 mm with 2 mm clearance as in the rough timber example. With 0 they are left out.

Depth and wall

“Inside depth” (10 to 80 mm, default 30 mm) is how far the cap slides down the post. More depth sits more stably and resists wind better but costs material. For light fence posts 25 mm is enough; for large deck posts 30 mm or more makes sense. “Wall thickness” (1.6 to 6 mm, default 3 mm) applies to the sleeve and the sloped roof shell. Slim posts like the 50 mm example are fine with 2.4 mm, and big caps get stiffer with 3 mm or more. “Corner radius” rounds the outer corners; 0 keeps them sharp.

Roof and drip edge

The cap prints upside down with its top on the print bed. That has two advantages: the sleeve stands straight up and needs no supports, and the top comes out as smooth as the bed. It also gives one rule for every roof: it may not be flatter than about 55°, or it would overhang while printing.

The overhang

“Overhang” (0 to 30 mm, default 8 mm) is the drip edge. It reaches beyond the sleeve and leads water away from the post instead of letting it run back along the cap to the timber. Its underside is chamfered at 45° so that it prints without supports. “Edge height” (1.5 to 12 mm, default 4 mm) is the height of the vertical outer edge of the roof. The cap may not be wider than 178 mm in total; otherwise the overhang is reduced and the editor shows a warning.

Top shape: flat, pyramid, dome

“Top shape” offers three choices:

  • Flat: a level plate with an “Edge chamfer” (0 to 10 mm, default 2 mm). It is the only shape with room for text, and it prints quickly. Good for deck posts and mailbox posts. Keep in mind that water stands longer on a flat top than on a slope.
  • Pyramid: a hip roof. “Slope” (55 to 70°, default 60°) sets the angle from horizontal. The “Flat top” (default 12 mm) is the width of the plateau. A wide plateau makes the roof lower; 0 lets it come to a point. On round posts it becomes a cone, on rectangular posts a hip roof with a ridge.
  • Dome: a rounded hood. The rounding is at most 15 % of the width, so the edge does not get too flat while printing.

On square and rectangular pyramids the corner edges lean more than the faces. So the generator raises the slope to at least 60° if you set less, and a warning (code slope.raised) tells you the slope was raised so the cap prints without supports. Round caps manage with 55°, like the cone example at 58°.

The ball

“Finial” lets you put a ball on the tip of a pyramid (pyramid roofs only). “Ball diameter” runs from 10 to 50 mm. While printing, the ball is at the bottom, its tip is flattened, and the cap stands on that small flat. This works without supports but needs good bed adhesion; a brim helps when the flat is small. If the cap with the ball would be taller than 180 mm, the generator leaves the ball out and warns you.

Holes and text

Fixing holes

If the cap has to stay on in a storm or against curious children, fix it with a nail or screw. “Fixing holes” offers none, two or four sides. The “Hole diameter” (2 to 8 mm) defaults to 4 mm for wood screws and nails of 3.5 to 4 mm. “Hole height” is the distance from the hole center to the lower edge of the cap, default 12 mm. The hole has to sit in the sleeve below the drip edge. If it does not fit there, it is moved or left out, and the editor tells you.

Vent holes

Moisture can get trapped under a tight cap, especially on fresh timber that is still drying. “Vent holes” (0 to 8, default 0) are small vertical holes through the roof. The “Vent diameter” is about 4 to 6 mm; larger holes let in more rain. The rough timber example has four vent holes of 4 mm.

House number and names

On a flat roof or a wide flat top, the generator engraves text as a V-groove. The “Text” field takes a house number or a name, with “Font” and “Text size”. At 0 the size fits the area. If the text is still too large, the generator shrinks it and tells you. Under the text the roof is thickened where needed, so the groove does not cut through.

Because the top faces the bed while printing, the text has a smooth surface against the bed. Very small lettering under about 6 mm tall turns blurry there, and the editor warns you. Avoid the digit 4 as well: its closed triangle needs a one-layer support patch inside the engraving. The examples show 12 and 7 for that reason.

Examples

The gallery covers typical posts:

The numbers come from a PrusaSlicer slice for a Prusa MINI with the 0.20 mm SPEED profile and Prusament PLA. None of the 14 examples produces automatic supports. On other printers and with other filament, time and weight differ.

Printing

Download STL or 3MF. The file already lies correctly on the bed: roof top down, sleeve up. Do not rotate it.

  • Supports: not needed. Switch them off in the slicer. If your slicer still shows overhangs, check whether you set a slope under 55°.
  • Layer height: 0.2 mm is enough. 0.16 mm gives a slightly finer top but a longer print.
  • Walls and infill: three walls are a good value. Infill hardly matters because the roof is a thin shell; a lot of infill only adds weight.
  • Adhesion: the cap stands on a large area of the bed, or a smaller one with the ball. A brim helps there.
  • Material: PLA is fine indoors and for a first test. Outdoors, ASA and PETG are the better choice. This is general experience with plastics outdoors, not a measurement of this generator.

Making it weatherproof

Dark PLA can soften in the sun and warp, and UV light makes many plastics brittle over time. ASA is UV resistant and is often recommended for outdoor parts; PETG is a good compromise and easier to print. A spray paint made for plastic extends the life further and matches the cap to the fence or pergola. Seal the end grain of the post beforehand with wood preservative or oil. And do not seal the cap tightly with silicone while the post is still damp: the moisture has to be able to escape.

Fitting

Test the cap dry on the post first. If it is too tight, lightly sand the ribs on the inside. If it is too loose, reprint it with larger ribs or fix it with two screws through the fixing holes. Pre-drilling keeps the timber from splitting. Never screw through the roof, only through the sleeve.

Origin and credits

The idea of a customizable post cap comes from “Fence post cap (customizable)” by Coat on Printables, licensed under CC-BY-4.0. It served as inspiration only. The geometry of this generator, with its drip edge, roof shapes, ball, holes and engraving, is an original design. The licenses of all sources and fonts are listed on the licenses page.

For tubes instead of wooden posts, see the tube end cap. Back to the generator or the examples.

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
Post and fit
Post width90 mm20 – 150 mmMeasure the post itself; rough sawn timber often differs from its nominal size by a few millimetres.
Post depth70 mm20 – 150 mmSecond side of a rectangular post.
Clearance1 mm0 – 3 mmGap between post and cap on every side: 0.5 mm for planed, 1–2 mm for rough or swelling timber.
Inside depth30 mm10 – 80 mmHow far the cap slides down over the post.
Wall thickness3 mm1.6 – 6 mmThickness of the sleeve and of the sloped roof shell.
Corner radius3 mm0 – 20 mmRounding of the outer corners, 0 = sharp.
Top
Overhang8 mm0 – 30 mmHow far the drip edge reaches beyond the sleeve; its underside is chamfered at 45°.
Edge height4 mm1.5 – 12 mmHeight of the vertical outer edge of the roof.
Slope60 °55 – 70 °Roof angle from horizontal: 55° is the lowest that prints upside down without supports (60° for square pyramids, whose corner edges lean more).
Flat top12 mm0 – 160 mmWidth of the flat area on top (also where text goes); wider = lower roof. A dome rounds at most 15 % of the width.
Edge chamfer2 mm0 – 10 mmChamfer of the top edge of a flat cap, 0 = sharp.
Top thickness3 mm1.6 – 8 mmThickness of the roof above the post.
Ball diameter24 mm10 – 50 mmDiameter of the ball before its top is flattened for the bed.
Ribs and holes
Centring ribs1 mm0 – 3 mmRibs inside the sleeve that grip the post; the same as the clearance touches it exactly, 0 = no ribs.
Hole diameter4 mm2 – 8 mmAbout 4 mm for 3.5–4 mm wood screws or nails.
Hole height12 mm5 – 60 mmDistance of the hole centre from the lower edge of the cap.
Vent holes00 – 8Small vertical holes through the top that let moisture out, 0 = none.
Vent diameter5 mm2 – 10 mmAbout 4–6 mm; larger holes let more rain in.
Text
Text size0 mm0 – 60 mmHeight of the capital letters, 0 = fit the flat top.

Frequently asked questions

Do I need supports?

No. The cap prints upside down with the top on the bed. Roofs are at least 55° steep, square pyramids at least 60°, and the drip edge has a 45° chamfer underneath. All 14 examples were sliced in PrusaSlicer without automatic supports.

How do I measure my post?

Measure the width, and for rectangular posts the depth, with calipers or a ruler, ideally at several places near the top end of the post. Enter the largest value as “Post width” and “Post depth”. For a round post it is the diameter. The clearance is a separate setting.

How much clearance does rough sawn timber need?

Planed timber is fine with 0.5 mm. For rough sawn or swelling timber use 1 to 2 mm. The centring ribs still hold the cap firmly, because they grip the post and the clearance takes up the rest.

Will the cap survive rain and frost?

As a general rule, PLA softens in the sun and turns brittle outdoors, while PETG and ASA handle weather far better. What matters most is that water runs off the drip edge. Vent holes let moisture escape from the post.

Why do the examples avoid the digit 4 in the top?

The digit 4 contains a closed triangle. The engraving faces the bed while printing, so the inside of the 4 needs a one-layer support patch. The examples use 12 and 7 instead. You can use any digit and check in your slicer whether supports appear.

How is it different from the tube end cap?

The post cap covers a wooden post or log, has a roof with a drip edge and optional text. The tube end cap is a plain plug for a tube or profile. For tubes, use the tube end cap generator.

Origin & license