Designing print-in-place hinges: clearance, orientation, and test coupons

A print-in-place pivot hinge is designed to leave a print with its segments assembled around the pivot, without a separately added pin. In BOSL2, the in_place option in knuckle_hinge creates interlocking cones; another option leaves a hole for a pin, while living_hinge_mask creates a flexing web. The file geometry alone does not guarantee physical separation. This page follows the BOSL2 function and Prusa’s fit guidance: identify the parameters, compare a coupon, and check orientation and the first layer.

The short answer

BOSL2’s knuckle_hinge(in_place=true) creates hinge segments with interlocking cones instead of a pin hole; gap and cone angle affect clearance. BOSL2 says to adjust gap until the segments separate after printing, without promising a setting for your machine. Prusa says fit depends on geometry, orientation, material, and settings; test a coupon under the conditions you intend to use.

Three mechanisms that all get called a hinge

Before you open your CAD tool, decide which hinge you actually mean. The BOSL2 documentation separates several objects inside its hinges.scad file. The knuckle_hinge module builds a two-part pivot hinge with a hole for a separately supplied pin, by default a piece of 1.75 mm filament, or a screw if you pass a specification such as M3. That is the classic hinge with a pin inserted after printing.

The same module accepts an in_place option. The documentation says this mode creates interlocking cones instead of a pin hole. It remains a pivot hinge, but whether the segments separate after printing depends on settings and execution; BOSL2 says to adjust gap to obtain separation. By contrast, living_hinge_mask creates a thin web that bends. The two mechanisms do not share the same geometry.

This page covers the second case, the print-in-place pivot. The clearance and orientation rules below do not transfer directly to a living hinge, which follows a web-thickness logic. If your part needs a thin strip to fold many times, you are on a different topic. If two leaves must rotate around an axis with no assembly step, keep reading.

How interlocking cones replace the pin

The principle documented by BOSL2 is straightforward. Each knuckle segment ends in a cone. Cones on the inner segments nest into cones on the outer segments with a void between them. After printing, that nesting retains the hinge while allowing rotation. In this mode, pin_diam no longer describes a hole but the diameter of the cone bases. It defaults to one unit less than the knuckle diameter, which itself defaults to 4. The documentation notes this default suits larger hinges and that a small hinge may need a larger pin_diam.

Cone angle is the second lever. The default cones are 45 degrees, and you can pass an angle to in_place, measured from vertical. According to BOSL2, a larger angle makes a pointier cone that is harder to print and leaves a smaller clearance gap inside for the same gap value. In other words, the cone angle affects both printability, because it is the overhang angle, and how freely the hinge moves.

The third lever is gap, the space between segments, which defaults to 0.2. The documentation tells you to adjust it until you get something that separates after printing. These three values define an example hinge geometry. Nothing in the library documentation promises that a default value will print successfully on your machine, with your filament, at your layer height.

Clearance is a starting point, never a universal rule

The Prusa knowledge base is explicit: there is no single universal tolerance value. It lists the most common factors that drive fit: model size, horizontal or vertical orientation, the geometry of the interlocking parts, calibration, settings, and material properties. It adds that different materials can warp or shrink during printing, so the same geometry can fit differently in a different filament.

In the context of its own FFF printers, Prusa states that an Original Prusa is accurate to at least 0.2 mm and gives at least 0.3 mm as an initial good measurement for movable parts such as a hinge. That figure belongs to that context. It is not a rule for every filament, nozzle, or machine. On a printer you have not characterized yet, check the dimensional accuracy of your prints before you lock in a clearance.

Two more factors deserve attention. For the clearance parameter that shifts the rotation axis, BOSL2 says it should probably equal one or two layer heights. Layer height therefore changes that starting reference; see the layer height page. Prusa says elephant-foot compensation can improve tolerances in some areas. Inspect the coupon’s first layer before changing the model.

Print a clearance coupon before the final part

Prusa puts it plainly: you will have to make test prints before you can consider a design final, and you should expect to tweak tolerances and geometry. For a hinge, that coupon is a short version of the mechanism with the same knuckle diameter, the same cone angle, the same material, and the same orientation as the final part. Changing any of those between the coupon and the part weakens the test, since Prusa lists each one among the factors that determine fit.

A parametric approach makes this loop fast. Prusa recommends working parametrically and saving versions before merging objects or cutting cavities. With BOSL2, gap, pin_diam, and in_place are already exposed as parameters, and the documentation examples declare their values at the top of the file. You can print two or three coupons side by side with different gap values. In conventional CAD the idea is the same with named variables, for instance in FreeCAD.

Read the result as an observation limited to that coupon. If it separates by hand and turns, record the settings and geometry as a candidate to carry into a final part under the same conditions; BOSL2 does not guarantee that transfer. If it remains joined, the documentation says to adjust gap to obtain separation. Binding or excessive play is a reason to review one parameter at a time and reprint, not evidence of a service life or a single cause.

Orientation, overhangs, and wall thickness

Orientation determines the direction of cone overhangs relative to the bed. The BOSL2 examples place the rotation axis parallel to the bed with both leaves lying flat on either side, and rotate the design geometry, for example with xrot(90), to move from the modeling view into print orientation. One example states that the opening angle must be set to zero for printing.

The default 45-degree value describes BOSL2 cones; it does not alone determine overhangs on a model placed differently. BOSL2 warns that a larger cone angle produces a pointier shape that is harder to print. Prusa separately gives overhang references of 45 to 60 degrees depending on nozzle and settings: do not infer a hinge-printing guarantee without checking orientation and the angle convention. For a thin plate, BOSL2 says clear_top removes arm material above the mounting surface.

Also consider the walls around the knuckle. Prusa reminds you that a wall thinner than one perimeter is not printable, and that in its MK3S reference with a 0.4 mm nozzle, one perimeter in PrusaSlicer is about 0.45 mm and two are about 0.9 mm, as approximations that depend on slicer settings. A small knuckle with internal cones leaves little material, so preview the sliced segments to confirm they are solid. The page on 3D printer nozzles explains how nozzle size relates to fine detail.

Freeing, cleaning, and adjusting after the print

The BOSL2 function says to adjust gap to get a hinge that separates after printing; it does not provide a universal procedure for freeing a joint that remains fused. If your coupon does not pivot, avoid forcing it or levering it apart: inspect the segment clearance and first layer, then adjust the model or slicer before another trial. That observation alone does not identify a cause.

Check the first layer and elephant-foot compensation as two items to inspect: Prusa says this compensation can improve tolerances in some areas, and the elephant-foot page explains the defect. If a hinge separates but drags, that may indicate clearance or geometry to revisit. BOSL2 says a larger cone angle reduces internal clearance at the same gap; compare settings on a coupon rather than assume one correction will work.

Finally, do not generalize from one material to another. Prusa points out that filaments meant for outdoor or mechanically demanding use, such as PC, ASA, or PETG, do not reproduce small details as well as PLA. A hinge validated in PLA is therefore not automatically validated in PETG, so rerun the coupon. Keep the project with its parameters rather than only a mesh, as explained in the STL vs 3MF guide, so you can replay the adjustment loop later.

Print-in-place pivot hinge: documented parameters and what to verify

ElementWhat the source saysWhat you check
in_place mode in knuckle_hingeBOSL2: interlocking cones instead of a hole for an inserted pinCheck separation on a coupon; the design file does not guarantee the result
Cone angleBOSL2: 45 degrees by default, pointier and harder to print as the angle rises, smaller internal clearanceCheck your orientation; BOSL2 describes the cone angle as an overhang
gap parameterBOSL2: space between segments, default 0.2, adjust to get separationCoupons with several values side by side
pin_diam in in_place modeBOSL2: cone base diameter, default one unit under the knuckle diameterFor a small hinge, compare pin_diam values and inspect the walls; the guide says a larger value may help
Movable part clearancePrusa: no universal value, starting point of at least 0.3 mm on its FFF printersPrusa starting point for movable parts on its FFF machines; not a universal rule
Living hingeBOSL2: mask leaving a thin flexing webDifferent mechanism; do not transfer pivot guidance to a flexing web

Frequently asked questions

What is the difference between a print-in-place hinge and a living hinge?

A print-in-place hinge rotates around an axis formed by interlocking segments, such as the cones in the BOSL2 knuckle_hinge module. A living hinge is a thin plastic web that bends, created by differencing a mask from a plate. Each follows its own design logic.

How much clearance should I leave between hinge segments?

Prusa gives no universal value: size, orientation, geometry, calibration, settings, and material matter. Its reference of at least 0.3 mm for movable parts is not a value to copy automatically into gap: BOSL2 explains that cone angle changes internal clearance at the same gap. Compare coupons for your geometry.

Why did my hinge come off the bed fused?

A hinge that remains joined does not by itself show why. BOSL2 says to adjust gap until the parts separate after printing; also inspect the segment clearance and first layer. Prusa describes elephant-foot compensation as a way to improve some tolerances. Change one setting, then compare a new coupon.

Does orientation matter for printing the hinge?

BOSL2 examples show the axis parallel to the bed and the leaves positioned for printing; one says to set the opening angle to zero for printing. These are geometry and placement examples, not a rule for every design. Check your model’s orientation and overhangs in the slicer; Prusa places cleanly printable angles between 45 and 60 degrees depending on nozzle and settings.

Does a successful coupon guarantee the hinge will last?

No. The sources document geometry and an adjustment method, not a cycle count or a load rating. The coupon validates separation and rotation under specific conditions. Any demanding application needs your own verification.

Sources and limits

  • BOSL2 — hinges.scad, wiki edited October 2, 2026
  • Prusa — Modeling with 3D printing in mind

We organize manufacturer and community documentation; we have not measured these products ourselves. The manual for your exact model takes precedence over general guidance.

Keep exploring

A clearer shortlist starts with your projects.

Use the free buying checklist and budget worksheet before comparing offers.

Get the free starter kit