3D Printed T-Nut
Printing a T-nut makes sense when you need a length nobody sells, when your profile is not quite the standard one, or when you want a nut in a colour that matches the rest of the build and you do not want to wait for shipping. It also lets you combine the nut with the bracket in a single part, which removes a joint entirely.
It does not make sense for a joint that carries real load. A commercial metal T-nut costs very little and is far stronger, so use printed nuts for positioning, light loads and mock-ups, and metal where the frame has to hold something up.
Dimensions for every slot series and thread size are on the T-slot nut dimensions page. This page is about making the part.
What the nut has to do
A T-nut works by entering through the narrow slot, turning a quarter turn, and then trapping its flange behind the slot lips. Three dimensions decide whether that is possible, and all three come from your profile rather than from the thread:
| Series | Slot opening | Throat height | Channel width | Channel depth |
|---|---|---|---|---|
| 20 series | 6.0 | 1.5 | 8.0 | 4.6 |
| 30 series | 8.0 | 2.0 | 11.0 | 6.2 |
| 40 series | 8.0 | 2.0 | 11.0 | 6.2 |
| 45 series | 10.0 | 2.5 | 14.0 | 7.8 |
All values in millimetres. Read them as a sequence of gates the part has to pass through: the flange must clear the opening, the body must fit inside the channel width, and the whole nut must be shallower than the channel depth or it will stand proud and stop the bracket sitting flat.
The throat height is the gate people forget. It is only 1.5 mm on the 20 series, so the neck of the nut has to be shorter than that before the flange begins. Get that wrong and the nut jams halfway in, which looks like a flange problem but is not.
Choosing how to hold the thread
There are three options, and only two of them are good.
| Method | Verdict | Why |
|---|---|---|
| Printed thread | Not recommended | The layers run across the thread, so it shears rather than grips. The pitch comes out inaccurate, and it wears out after a few assembly cycles. |
| Captured hex nut | Good | A standard nut drops into a pocket in the printed part. Strong and cheap, but you cannot replace the nut without removing the part from the slot. |
| Heat-set brass insert | Best | Melted in with a soldering iron. The thread is brass so the bolt will not chew it, and it survives being taken apart repeatedly. |
If you go with an insert, check that it can physically get into the nut. On the 20 series the slot opening is 6.0 mm, so an M4 insert at 5.0 mm passes through the slot but an M5 insert at 6.3 mm does not — you would have to fit the insert before the nut goes into the slot, or slide the nut in from the end of the profile.
If you capture a hex nut instead, remember that the nut's across-flats figure is the widest thing you are hiding: an M5 hex nut is 8.0 mm across the flats, which is the entire width of a 20 series channel. Stay at M3 or M4 for the 20 series.
Print orientation is the difference between working and snapping
This is the single decision that decides whether the part survives.
A T-nut is loaded by the bolt pulling the flange against the inside of the slot lips. That load travels along the bolt axis. Printed lying flat, the layer lines run horizontally across the flange, so the flange is held on by the bond between layers — the weakest direction a printed part has. Printed standing up, the layers run along the load and the flange is continuous material.
The trade-off is that standing a part up costs support material and gives a rougher finish on the faces that matter. Take that cost. A nut that looks slightly rough still works; a nut that snaps its flange off inside a slot usually means taking the frame apart to get the remains out.
If the part is small enough to be awkward standing up, print two or three at once with a little space between them for stability, rather than lying them down.
Material and settings
Use PETG or PLA+ with at least 60 percent infill and three to four perimeters. The perimeters matter more than the infill here: the load passes through the outer walls and the flange, not through the middle of the part, so wall thickness is what you are buying.
Avoid the brittle plain PLAs for anything structural, and think twice before using a material that needs high chamber temperatures for a part this small — the dimensional accuracy of a nut that has to clear a 6 mm opening by a few tenths is more important than heat resistance.
One more material note: if you are using heat-set inserts, the wall around the insert has to be thick enough to take the melted plastic displaced by the insert. A boss that is too thin cracks when the insert goes in, usually at the worst possible moment.
Test before you commit
- Measure your actual profile. Section sizes are standardised, wall thickness and slot tolerance are not. Five minutes with calipers on the slot opening, channel width and channel depth beats trusting a nominal value.
- Print a short test piece. Two or three millimetres of the nut is enough to check the neck height and the flange width. It takes minutes instead of an hour.
- Slide it in and turn it. It should enter without force and lock with a quarter turn. If it needs force, the clearance is too small; if it turns too freely it will not lock under load.
- Then print the real part at full length with the clearance you settled on.
Leave 0.1 to 0.2 mm for a tight fit and 0.3 to 0.5 mm for a loose one. Printed parts shrink or swell depending on the material and the printer, so a value that works on one machine is a starting point on another, not a setting.
Frequently asked questions
Is a 3D printed T-nut strong enough?
For positioning parts, holding light loads and prototyping, yes. For a joint that carries weight or takes repeated vibration, use a metal T-nut: the printed part is usually the weakest link in the joint, and the failure is sudden rather than gradual.
Should I print the thread or use an insert?
Use a heat-set brass insert, or capture a standard hex nut. A printed thread in the layer direction is weak, the pitch is inaccurate, and it wears out after a few assembly cycles. An M3 or M4 insert is the better option for anything you will take apart more than once.
Which way up should a T-nut be printed?
Stand it so the flange sits at the top and the layers run along the direction the bolt pulls. Printed flat, the layer lines run across the flange and the flange snaps off under load, which is the usual way these parts fail.
What infill and perimeters should I use?
At least 60 percent infill and three to four perimeters. The perimeters matter more than the infill here, because the load goes through the outside walls and the flange rather than through the middle of the part.
How do I stop the nut sliding in the slot during assembly?
Print the spring leaf version. The leaf presses against the channel wall so the nut stays where you put it while you line up the bracket, which saves a great deal of swearing on a frame with more than a few joints.
How accurate does my printer need to be?
Accurate enough to hold a couple of tenths of a millimetre. The clearance setting in the generator covers the difference: leave 0.1 to 0.2 mm for a tight fit and 0.3 to 0.5 mm for a loose one, and print a short test piece before committing to a long one.
Generate the nut
Pick the slot series, pick the thread, set the clearance, and add the spring leaf if you want it. The generator produces the STL with the flange, boss, centre hole and optional spring already proportioned to the slot.
Open the aluminum extrusion generator →
Related: T-slot nut dimensions · extrusion size chart · choosing connectors · mitre cuts