Enclosure (project box)

A shelled base and a matching lid, sized to your electronics.

The enclosure generator builds a small assembly, not one primitive: an open-top shelled base — optionally with four corner screw bosses and pilot holes — plus a separate lid with matching clearance holes. An inset lid adds a lip that seats inside the walls; a flat lid is a plain plate. A hinged lid is a flat lid on a print-in-place pin hinge along the back wall: the base and lid print side by side, open side up, and the lid folds over onto the rim. The hinge is placed and sized for you — its axis sits halfway between the base’s rim and the lid’s, which is what lands one on the other — so there is nothing to line up. It needs no screws, so the bosses switch off, and the Properties panel says if the box is too shallow or too narrow for the hinge, or if a vent on the back wall would sit behind it. Its Fit is the pin hinge’s own: loosen it if the lid binds after printing, tighten it if it rattles, or pick Custom and type the clearance you measured on your printer. Everything is made from ordinary primitives and booleans, so every part re-opens in the property panel and stays parametric. The lid is laid out next to the base so both print flat. Every generator stays live: re-open it in the property panel to change its parameters at any time, and the assembly rebuilds. When you want to hand-tweak one body, use Bake to editable parts to convert the generator into plain primitives — that makes the individual parts editable but the generator’s parameters can no longer be changed. (Documents opened from before generators became live keep any previously-generated parts as plain nodes; only newly inserted generators are live.)

  1. Open the Generate panel from the left sidebar and choose Enclosure (under Enclosures).
  2. The base and lid drop in beside each other as editable parts. The parameters open in the Properties panel, where you set them.
  3. Set the outer width, depth, height, and wall thickness.
  4. Turn on corner screw bosses and pick a lid style — flat, an inset lip that drops inside the walls, or hinged.

Open the Enclosure generator

More in Generators

  • Snap-fit (cantilever)
  • Annular snap-fit
  • Gridfinity storage
  • Bolt & nut
  • Threaded jar / container
  • Board mount plate
  • Pulley / sprocket
  • Ball bearing
  • Timing belt
  • Compression spring
  • Living hinge
  • Fit test coupon
  • Printer calibration block
  • Texture roller
  • Casting mold
  • Clamp
  • Impeller (blower wheel)
  • Axial fan (rotor)
  • Fan frame and guard
  • Plugs, caps and sleeves
  • Pillow block
  • Pin hinge (print-in-place)
  • Attach a generator’s pieces to your parts
  • Ball-and-socket joint
  • Will my gear teeth print?
  • Gear train
  • Planetary gearbox
  • Herringbone gear
  • Herringbone gear train
  • Rack and pinion
  • Worm drive
  • Bevel gears
  • Hose / thread adapter
  • Text sign
  • Image relief & lithophane

All help articles