3D Printing Generator
DeutschEnglish

Print a hook latch for boxes, crates and doors

A hook latch you can print yourself

This box latch keeps cardboard boxes, crates and cupboard doors shut without tape, string or a hardware-store catch. It has just four pieces: two flat base plates, a hook and a small cap. You glue one plate to the lid and the other to the box, then hook the latch in. Because it sits flat, it hardly sticks out and does not snag on clothes or other boxes.

In the generator you set the width of the whole latch, choose the plate thickness and adapt the tolerances to your printer. Each part can be reprinted on its own if the fit is not right the first time. For ideas, browse the box latch examples, from jewelry boxes to toolboxes.

How the generator works

Everything runs in your browser. Nothing is uploaded, and your design lives in the link you copy with “Share”, so you can save it, send it or adjust it later.

The steps are short:

  1. Open the generator or an example close to what you need.
  2. Set “Size” and “Plate thickness”.
  3. Check the fit. The defaults suit a well-tuned printer.
  4. Pick colors for base plates, hook and cap if you like.
  5. Download the file and slice it.

The geometry goes back to DrLex0’s “Customizable Latch”, an OpenSCAD model under CC-BY-4.0. Dimensions, tolerances and layout come from there. We re-implemented it in TypeScript so it runs in the browser; the origin section at the end has the details.

How the latch is built

The principle is simple and sturdy. The first plate carries a post, and the cap clamps the hook onto it so the hook swings like a hinge. The second plate has a post as well, where the hook catches, plus a small alignment block that makes gluing easier. The hook has two holes: one for the hinge and one for hooking in.

The cap is pressed into the plate and holds the hook on its post. It is meant to fit snugly because it should not pop out again. A drop of glue is fine if the latch takes heavy use.

All settings at a glance

All values refer to the default size. When the size changes, everything scales together, tolerances included.

SettingRangeDefaultEffect
PartsAll parts, All but the cap, Base plates only, Hook only, Cap onlyAll partsWhat gets printed
Size20–70 mm35 mmWidth of the whole latch
Plate thickness0.5–10 mm1 mmThickness of the two base plates
Hook length−1 to 1 mm0 mmMinus fits tighter, plus looser
Cap tightness−0.5 to 0.5 mm0 mmMinus clamps tighter, plus looser
Hole clearance0–0.3 mm0.15 mmExtra radius of hinge and hook holes

Size

The design is made for 35 mm. That suits ordinary moving boxes and most crates. For jewelry boxes and small tins, try about 22 mm, as in Small latch 22 mm. Heavy archive boxes want 50 to 60 mm, for example Large latch 60 mm. The range ends at 70 mm so that all parts together still fit a 180 mm bed.

Plate thickness

At the default 1 mm the plates glue neatly onto cardboard. Thin 0.5 to 0.6 mm is enough for light boxes. From about 3 mm you can screw the plates down, and at 4 mm countersunk screws sit flush. The example Screw-on plates for wooden crates shows this at 45 mm width.

Fit and tolerances

Three values decide how firmly the latch sits, and they are meant for fine-tuning:

  • Hook length: the hook gets shorter (minus) or longer (plus). Shorter means it is under more tension when closed.
  • Cap tightness: how snugly the cap sits in the plate. If it is hard to press in, add some plus.
  • Hole clearance: the extra radius of the holes. With a very well-tuned printer you can lower it; with elephant’s foot or rough holes, raise it.

Test the fit with the defaults first. Print only hook and cap as a set if you do not want to spend the whole latch. You rarely need more than one or two rounds.

Reprinting single parts

The “Parts” menu is the real time saver. You print the whole latch once. If the hook does not fit, choose “Hook only”, change “Hook length” and print only that piece. The same works with “Cap only” and “Base plates only”. “All but the cap” is handy once the cap already fits.

The examples Reprint only the hook and Reprint only the cap show how it looks. According to the test slice, a new hook takes about 1.6 g of filament and under 6 minutes; the cap needs only 0.4 g and 3 minutes.

Colors and multi-color printing

The latch has three color slots: “Base plates”, “Hook” and “Cap”. If you give them different colors, each becomes a separate part with its own extruder. In Two-color latch the plates are white, the hook red and the cap black. Toy chest in bright colors uses yellow, blue and green.

Each piece is its own body, so there are no fine color borders inside a part.

To get the file into your slicer:

  • PrusaSlicer (MMU3, XL, Core One): choose “Multi-color 3MF (PrusaSlicer)”. The parts are already assigned to extruders.
  • Bambu Studio and OrcaSlicer (AMS): choose “3MF (Bambu Studio / OrcaSlicer)” and check the filament assignment.
  • Any other slicer: “STL per color (ZIP)” gives one file per color that you load together and assign.
  • Single extruder: print in one color, or swap filament by hand between parts. Since the parts lie apart on the bed, you do not need a color change in the middle of a part.

Printing tips

  • Orientation: all parts lie flat on the bed as generated. Nothing to rotate.
  • Supports: not needed. The slicer test added no automatic supports for any example.
  • Layer height: 0.2 mm is a good compromise. For hook and cap, 0.15 mm can pay off.
  • Material: PLA is stiff and accurate, PETG flexes more and barely shrinks. Tighter fit for PLA uses hook length −0.1 mm, cap tightness −0.08 mm and hole clearance 0.1 mm. Looser fit for PETG uses +0.1 mm, +0.1 mm and 0.2 mm.
  • Walls: at least three perimeters, no sparse infill. The hook is under tension, so solid beats light.
  • Gluing: roughen the underside of the plates, degrease cardboard edges and press the plates for a few seconds. The alignment block helps you place both plates in line.

Print time and filament

Measured with PrusaSlicer, Prusa MINI with input shaper, 0.20 mm SPEED profile, Prusament PLA:

ExampleFilamentPrint time
Small latch 22 mm1.5 g7 min
Latch for cardboard boxes (35 mm)5.7 g18 min
Catch for cupboard doors (30 mm)6.1 g18 min
Screw-on plates (45 mm, 4 mm thick)16.9 g42 min
Large latch 60 mm24.2 g57 min

The times cover all parts on one bed. The standard latch is done in just under 20 minutes.

Use cases

  • Moving and archive boxes that you open often and that no longer tolerate tape.
  • Toolboxes and assortment cases made of wood or cardboard, see Toolbox latch.
  • Cupboard doors, flaps and display cabinets where a small catch is enough: Catch for cupboard doors.
  • Toy chests in bright colors that kids can grab easily.
  • Prototypes and model making when you need a closure for an enclosure.

You may also like the bottle clip with a name, which uses the same multi-color approach.

Origin and license

The latch shape comes from DrLex0: print3d-customizable-latch, published under CC-BY-4.0. Hook, cap, the two base plates and the dimensions, tolerances and layout follow the OpenSCAD original. We rewrote them in TypeScript so they run in the browser, and added scaling, colors and single-part printing. The original repository links further build notes.

You may use the printed latches freely, commercially too. If you share the model or pictures of it, credit DrLex0 and the license. An overview of all sources is on the licenses page.

Start in the generator, or look at the examples first.

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
Size
Size35 mm20 – 70 mmWidth of the whole latch. Everything scales with it, the design is made for 35 mm.
Plate thickness1 mm0.5 – 10 mmThickness of the two base plates that are glued or screwed to the box and the lid.
Fit and tolerances
Hook length0 mm-1 – 1 mmMinus makes the hook shorter for a tighter fit, plus makes it longer and looser. Reprint only the hook to fine-tune.
Cap tightness0 mm-0.5 – 0.5 mmMinus clamps the cap tighter, plus makes it looser. Reprint only the cap to fine-tune.
Hole clearance0.15 mm0 – 0.3 mmExtra radius of the hinge and hook holes. The default suits a well-tuned printer.

Frequently asked questions

Do I need supports for the latch?

No. Every part lies flat on the bed and the hook profile has no overhangs beyond 45°. In the test slices for all examples, PrusaSlicer added no automatic supports.

What if the hook is too loose or too tight?

Under “Fit and tolerances”, change “Hook length”: minus fits tighter, plus fits looser. Then pick “Hook only” under “Parts” and reprint just that piece instead of the whole latch.

Which filament works best?

PLA and PETG both work. PLA is stiffer, PETG flexes more and survives more openings. The examples “Tighter fit for PLA” and “Looser fit for PETG” give you good starting values.

Can I print the latch in several colors?

Yes. Base plates, hook and cap each have a color of their own. “Multi-color 3MF (PrusaSlicer)” assigns them to extruders, “3MF (Bambu Studio / OrcaSlicer)” is for AMS printers and “STL per color (ZIP)” works with any slicer.

How do I attach the plates?

On cardboard and wood, glue is enough; superglue or hot glue both work. With plates of 3 to 4 mm you can drill holes and sink countersunk screws.

Is anything uploaded when I use the generator?

No. The model is built entirely in your browser and nothing leaves it. Your settings live only in the link you copy with “Share”.

Origin & license

  • print3d-customizable-latch by DrLex0 · CC BY 4.0 · code ported – Geometry of the hook, cap and both base plates follows CustomizableLatch.scad (dimensions, tolerances and layout), re-implemented in TypeScript.