How to print brackets for aluminum profiles
Connectors for slot profiles
Aluminum slot profiles, usually 2020 extrusions with a 20 × 20 mm cross-section, hold together countless 3D printers, enclosures, workbenches, camera rigs and DIY shelves. They are joined with brackets, plates and T-nuts. The metal parts aren’t expensive, but they rarely look exactly like what you need right now: one more hole, a bracket at an odd angle, a cube corner that joins three profiles at once. That’s what this generator is for. It makes brackets for aluminum profiles, flat joining plates, T and angle plates, and end caps, as STL or 3MF.
First pick the part:
- Corner bracket: one flat and one upright arm with triangular gussets, and optionally a second flat arm that turns it into a cube corner for three profiles.
- Plate: a flat strip with holes, or an L plate bolted across the outside of two profiles.
- Angle plate: two hole strips crossing at one hole, as a T, an L, a cross or a diagonal brace between 15° and 165°.
- End cap: a lid with four clip tongues per profile cell that covers the sharp cut end.
Ready-made starting points are in the example gallery, for instance the corner bracket for 2020 profiles, the cube corner and the end cap for 2020 profiles.
How the generator works
Everything runs in your browser. Nothing is uploaded; your settings live in the link you get from “Share”. Every change rebuilds the model, usually in well under a second. When you like a part, download it as STL or 3MF and open it in PrusaSlicer, Bambu Studio, OrcaSlicer or Cura.
The geometry comes from the OpenSCAD library OpenSCAD_connectors by Alex Gaudio. Its modules connector(), corner_bracket(), tjoint() and endcap() were translated to TypeScript here, and the sizes were checked against the original files: across 14 comparison cases the volume differs by at most 0.3 % and the outer dimensions match. New on top are profile and bolt presets, countersinks, teardrop holes, rounded corners and a fit setting for end caps.
What you need
For every hole you need a bolt and a T-nut or drop-in nut that sits in the profile’s slot. Sliding T-nuts go in from the profile end; drop-in (hammer) nuts can be turned into the slot later, which is handy when the frame is already assembled.
| Profile series | Pitch | Bolt | Hole tight / loose |
|---|---|---|---|
| 15 series (1515) | 15 mm | M3 | 3.3 / 3.6 mm |
| 20 series (2020, 2040) | 20 mm | M5 | 5.3 / 5.8 mm |
| 30 series (3030) | 30 mm | M6 | 6.4 / 7.0 mm |
| 40 series (4040) | 40 mm | M8 | 8.4 / 9.0 mm |
M4 gets 4.3 / 4.8 mm. The M3 and M5 values come from the original library; the others follow the ISO 273 clearance holes. The generator estimates a bolt length from plate thickness and profile: for a 4 mm thick 2020 bracket it suggests M5 × 10. Bolts that are too long bottom out on the profile’s core; bolts that are too short grip the T-nut with only a few threads.
As for material, PLA is perfectly fine for enclosures and mounts indoors. If it gets warm (inside a printer enclosure, in a car, in the sun), use PETG or ASA, because PLA softens at around 55 °C.
Choosing the part, profile and holes
Under “Profile”, the “Profile series” sets the pitch. The “Profile width” is also the hole spacing, because every cell gets a hole in its center. For unusual sizes between 10 and 60 mm, type the width yourself.
Under “Holes & bolts”, pick the “Bolt” and the “Fit”: “Tight” sits without play, “Loose” is easier to align. The “Hole diameter” shows the resulting value, and you can type your own, which helps if your printer makes holes a little small. The screw hole test tells you beforehand which diameter works on your machine.
The “Slot” setting (0–10 mm) turns each round hole into a slot along the arm. The example with slots uses 4 mm, enough to push a frame square before tightening.
“Countersinks for flat-head screws” adds a 90° countersink on the inner face of every hole, made for ISO 10642 flat-head screws. A countersink needs material: for M5 it is a little over 3 mm deep, so the plate should be at least 4 mm thick. If it’s too thin, the generator leaves the countersink out and tells you which thickness would work.
Corner brackets and cube corners
For a corner bracket, “Arms” sets how many holes each arm has and in how many rows. The “flat arm” lies on the bed while printing, the “upright arm” points up. Set “Holes, second arm” above 0 and a second flat arm appears at a right angle: that is the cube corner joining three profiles along x, y and z. Two rows per arm fit 2040 profiles, as in the wide corner bracket for 2040 profiles.
The “Gussets” are triangular walls in the corners. They make the bracket many times stiffer and cost very little material. Set their thickness with “Gusset thickness” (1.2–8 mm). If the plates get too thick, a bolt head no longer fits between the wall and the hole, and the generator warns you.
Plates and angle plates
The “Plate” is the simplest part: a strip with 1–12 holes, in two rows if you like, or an L with a second arm. The angle plate is made of two hole strips. “Crossing at hole” sets where the strips meet, counted from 0: in the middle of the first strip you get a T like the T plate, at its end an L. At sharp angles one strip can cover holes of the other; you get a note then as well.
End caps
The end cap has four clip tongues per profile cell. “Cap width” and “Cap length” count the cells: 1 × 1 for 2020, 1 × 2 for 2040 as in the end cap for 2040 profiles. The “Tongue length” (8 mm by default) sets how deep the cap reaches into the profile, the “Lid thickness” (2 mm) the cover. With “Center hole” you can also screw the cap into the profile’s center bore.
The tongue shape is designed for 20 series profiles and scales with the other series. Since profiles from different makers have slightly different slots, there is “Narrower tongues”: each step makes the tongues a bit narrower all around, up to 0.6 mm.
Strength and print orientation
The generator places every part on the bed the way it prints best. A corner bracket lies on its flat arms, with the upright arm growing straight up. Its holes are teardrops: the top of the hole ends in a 45° point, so the printer bridges it without supports. The gussets have a 45° slope and print freely too.
These settings make strong brackets:
- Walls over infill: 4 walls do more than 50 % infill, because the forces run through the outer material.
- Plate thickness: 4 mm for 20 series profiles, 6 mm for 30 and 40 series. The library’s default of 2 mm is fine for covers, not for frames.
- Layer height: 0.2 mm is a good compromise.
- Tighten with feeling: plastic creeps under load. Tighten the bolts firmly but not with full force, and check them again after a few days.
For reference, a real slice on a Prusa MINI+ with the “0.20mm SPEED” profile and Prusament PLA, which means 2 walls and 15 % infill:
| Example | Filament | Print time |
|---|---|---|
| Corner bracket for 2020 profiles, 4 mm | 4.8 g | 36 min |
| 3-way cube corner for 2020 profiles | 4.1 g | 24 min |
| T plate for 2020 profiles | 6.0 g | 15 min |
| End cap for a 2020 profile | 1.9 g | 12 min |
The slicer generated no support material for any of these parts, even with supports switched on in the profile. With 4 walls and more infill the parts get a little heavier and take a few minutes longer.
Printing end caps
Print end caps lid down, with the tongues pointing up. That gives a smooth visible face and clean tongue edges. The tongue tips are slightly rounded so the cap finds its way into the slots. Push it straight onto the profile end; a light tap with the flat of your hand is usually enough.
If the cap is too tight, raise “Narrower tongues” by 0.05 mm and print again; at under 2 g per cap that costs next to nothing. If it’s too loose, make the tongues longer or print with a touch more material. PETG gives a little and is more forgiving than PLA.
Origin and license
The shapes come from OpenSCAD_connectors by Alex Gaudio, published under the MIT license. You’ll find the license text along with all other sources on the licenses page. Compared with the original, the generator fixes two small things: the angle plate uses the chosen pitch for the second strip instead of a fixed 20 mm, and the end cap’s bolt hole always goes through the lid. It also spreads the gussets of a multi-row bracket evenly from edge to edge.
Profile names such as 2020 or 4040 only describe the format; the parts fit the common slot profiles of many makers. Still, take a quick look at the slot width of your profile.
Ready? Open the profile bracket generator, browse the examples, or make matching mounts for the tubes on your frame with the pipe clamp.
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.
| Parameter | Default | Range | Meaning |
|---|---|---|---|
| Profile | |||
| Profile width | 20 mm | 10 – 60 mm | Side length of the profile, which is also the hole pitch: every cell gets a hole in its center. |
| Holes & bolts | |||
| Hole diameter | 5.3 mm | 2 – 12 mm | Diameter of the bolt holes. 5.3 mm is a tight fit for M5, 5.8 mm a loose one. |
| Slot | 0 mm | 0 – 10 mm | Turns every hole into a slot this much longer, so you can align the profiles before tightening. 0 = round hole. |
| Arms | |||
| Holes, flat arm | 1 | 1 – 12 | Holes along the arm that lies flat on the bed (x direction). |
| Rows, flat arm | 1 | 1 – 4 | Hole rows side by side: 2 rows for 2040 profiles or two parallel profiles. |
| Holes, second arm | 0 | 0 – 12 | A second flat arm at a right angle (y direction). 0 = none. On a corner bracket it makes a cube corner. |
| Rows, second arm | 1 | 1 – 4 | Hole rows of the second flat arm. |
| Holes, upright arm | 1 | 1 – 12 | Holes in the upright arm (z direction). They print as teardrops, so they come out clean without supports. |
| Rows, upright arm | 1 | 1 – 4 | Hole rows of the upright arm. |
| Plates | |||
| Plate thickness | 2 mm | 1.2 – 10 mm | Thickness of the plates that rest on the profile. The original uses 2 mm; 4–6 mm is sturdier for real frames. |
| Gusset thickness | 2 mm | 1.2 – 8 mm | Wall thickness of the triangular gussets of a corner bracket. |
| Corner radius | 0 mm | 0 – 8 mm | Rounds the outer corners of the plates. Edges where arms meet stay sharp. 0 = square. |
| Angle plate | |||
| Angle | 90 ° | 15 – 165 ° | Angle between the two hole strips: 90° for T and L plates, smaller values for diagonal braces. |
| Holes, strip 1 | 4 | 1 – 12 | Length of the first hole strip in holes. |
| Crossing at hole (strip 1) | 2 | 0 – 11 | The second strip crosses at this hole, counted from 0. In the middle you get a T, at the end an L. |
| Holes, strip 2 | 3 | 1 – 12 | Length of the second hole strip in holes. |
| Crossing at hole (strip 2) | 1 | 0 – 11 | The crossing lies at this hole of the second strip, counted from 0. |
| Rows per strip | 1 | 1 – 3 | Hole rows side by side, for example 2 for 2040 profiles. |
| End cap | |||
| Cap width | 1 | 1 – 4 | Width of the end cap in profile cells: 2040 = 1 × 2, a 4040 made of 20 mm cells = 2 × 2. |
| Cap length | 1 | 1 – 4 | Length of the end cap in profile cells. |
| Tongue length | 8 mm | 3 – 15 mm | How far the clip tongues reach into the slots. 8 mm holds well; longer tongues are harder to push in. |
| Lid thickness | 2 mm | 1 – 5 mm | Thickness of the lid that covers the cut end. |
| Center hole | 0 mm | 0 – 10 mm | A hole per cell for a screw into the profile’s center bore. 0 = closed; 5–5.5 mm for M5 in 20 mm profiles. |
| Narrower tongues | 0 mm | 0 – 0.6 mm | Makes every clip tongue this much narrower all around. Raise it if the cap is too tight: profiles from different makers vary. |
Frequently asked questions
Which bolts do I need for 2020 profiles?
M5 bolts, 8–12 mm long, with matching T-nuts or drop-in nuts. A 5.3 mm hole is snug, 5.8 mm is loose. The generator suggests a bolt length at the end of “Holes & bolts”.
Are printed brackets strong enough?
For enclosures, printer frames, shelves and light furniture, yes: use 4–6 mm plates, keep the gussets on and print with 4 walls in PETG or ASA. For load-bearing structures, metal brackets are the better choice.
How should I print the bracket?
The way the generator shows it: the flat arms on the bed, the upright arm standing. The holes in the upright arm are teardrops, so you need no supports.
Does it work for 3030 or 4040 profiles?
Yes. The profile series sets the pitch and the bolt: 30 series with M6, 40 series with M8, 15 series with M3. For other sizes, enter the profile width and hole diameter yourself.
What are the slotted holes for?
A slot lets you shift the profiles by a few millimeters and square them up before tightening. The value is how much longer the hole is than the bolt.
The end cap is too tight or too loose. What now?
Profiles from different makers have slightly different slots. If the cap is too tight, raise “Narrower tongues” in steps of 0.05 mm. If it is too loose, make the tongues longer or print with a little more flow.
Origin & license
- OpenSCAD_connectors by Alex Gaudio · MIT · code ported – joining plate, corner bracket, angle plate and end cap ported; profile presets, countersinks, teardrop holes and round corners added