BlogMechanical Engineers

Custom Enclosure Design 101: A Beginner’s Guide for Mechanical Engineers

The parts of an enclosure, the terms suppliers use, the order to make design decisions in, and the five mistakes that turn up in most first housings.

This guide is for the mechanical engineer who has designed brackets, frames and machined parts but never a product housing. It covers the parts of an enclosure and what each one does, the terms a supplier will use, the order in which to make the decisions, and the mistakes that turn up in most first designs. We build enclosures from plastic sheet, so the examples come from that process, but the sequence holds for any of them.

The enclosure looks like the simplest part of a product and is usually specified last. That is why it so often sets the ship date: by the time someone draws it, the board, the connectors and the cable routing have been frozen around assumptions nobody checked.

The parts of an enclosure

Molded, printed or bent from sheet, every housing is assembled from the same short list of elements. Learn their names first, because they are the vocabulary of every design review. Our overview of enclosure types and components shows how they combine in real products.

PartWhat it doesWhat beginners miss
Shell or bodyThe main walls; carries loads and locates everything elseWall thickness sets stiffness and weight, and a UL 94 flame rating is listed for a minimum thickness
PanelsFront, rear and end faces carrying connectors, displays and controlsMost cutouts live here, so panels change most between revisions
BezelA frame around a display, window or openingIt hides the display’s inactive border and often holds the display in place
BossesPosts that take a screwA self-tapping boss wears out if the screw goes in and out repeatedly
InsertsThreaded brass set into a boss or wallSpecify them wherever a screw comes out for service
StandoffsSeparate posts that hold a board off a wallThey thread into an insert, and their height belongs in your stack-up
VentsSlots or holes for airflowAn inlet does little without an outlet of matching area
WindowsClear panels over displays and indicatorsMounted from behind, so the edge is protected and the bond is hidden
GasketsCompressible seals at a lid or panelThey need a flat, continuous surface to seal against, designed in from the start
Feet and mountsRubber feet, flanges, keyholes, bracketsDecide where the unit lives before you draw the base
Exploded CAD model of a two-part plastic enclosure: a red bent cover lifted above a black base with end walls and a circuit board on standoffs
An exploded model shows the anatomy at a glance: cover, base, end walls, and the board on standoffs between them.

The terms you will hear in a design review

  • Inside dimensions. The cavity the contents need. In a bent-sheet housing every dimension is taken to the inside walls, and the outside grows by one material thickness at each bend.
  • Gauge. Sheet thickness. Most housings are 3 mm ABS; we also stock 4, 6 and 8 mm for long spans and heavy contents.
  • Flat pattern. A part as it is cut, before bending. Every opening is machined into the flat sheet, ideally from one side.
  • Draft. The taper a molded wall needs to release from the mold. Sheet and printed parts do not need it; a molded part drawn without it cannot be made.
  • Joint or parting line. Where two pieces meet. Every process leaves one, so put it where it reads as intentional and a cleaning cloth can reach it.
  • UL 94 HB and V-0. Flammability classes for plastics. HB is the lowest; V-0 is the strictest of the three vertical-burn classes and is often required near mains power and lithium batteries.
  • IP code. The IEC 60529 ingress rating. The first digit covers solid objects and dust, the second covers water, and IP54 and IP67 describe different designs, not different labels.
  • First article. The first part made by the production process, inspected against the drawing. With no tooling, the prototype can be the first article.
  • NRE. Non-recurring engineering: the one-time cost of design and tooling. A mold carries most of it; a sheet process replaces the mold with a CNC program.

Make the decisions in this order

Beginners tend to start from the outside shape, because that is what the industrial designer sketched. Work from the inside out instead. Each step narrows the next, and taking them out of order is how a housing gets redesigned after the prototype.

  1. Contents. Model the board, display, battery and every connector at real size. Then add the mating plugs, the bend radius of each cable and room for a fingertip at every button and socket.
  2. Use and environment. Desk, wall, hand or vehicle; indoors or out; what it gets dropped from, wiped with or splashed by. These answers set wall thickness, sealing and material.
  3. Compliance. Find out early whether the product needs a flame-rated enclosure or an IP rating. Either one shortens the material list and adds features.
  4. Process. Quantity and how often the design will change decide between molding, sheet fabrication and printing. Each brings its own geometry rules: draft and uniform walls for a mold, flat patterns and bends for sheet.
  5. Material and gauge. Start from general-purpose ABS, which goes into about 80 percent of what we build, and move away from it only when a requirement forces you to.
  6. Split and access. Decide how the housing comes apart: which joints are permanent, which are fastened, and what a technician has to open.
  7. Openings, fasteners and finish. Cutouts, vents, windows, bosses, inserts, labels and color go into the CAD model, not into a note on the drawing.

What changes when the housing is bent from sheet

Design for molding and you think in cavities with walls of constant thickness. A fabricated housing is a set of flat patterns that are CNC machined, scored, folded on a thermal bender and solvent bonded. The average one is eight pieces in two thicknesses.

Three habits matter most. Dimension to the inside. Keep machining on one face of each sheet, because features on the reverse face double the machining labor and hold ±0.4 mm instead of the ±0.2 mm held on the flat pattern. And expect every bend to run the full width of its panel, so a box is built from bent sections joined at the corners, not four sides folded up from one blank.

Black machined plastic panel with rows of vent slots, a square cutout and mounting holes around its edge

You do not need to model the tongue-and-groove joints or the bend allowances. Send the housing as a solid and our engineers add them during the review that precedes every prototype. The plastic enclosure design guide has the full rule set with dimensions.

Five mistakes that turn up in first designs

Each of these is cheap to fix in CAD and expensive to fix after a prototype.

Designing from the outside in

An outline chosen for looks, with the board dropped in afterwards, tends to lose a connector to a corner or a bend. Fix the contents first, then wrap the housing around them.

Machined-part tolerances on a housing

A ±0.02 mm callout on a connector cutout adds cost and inspection time without improving the fit. Give each cutout clearance around the connector body and let the board, not the panel, locate the connector. Our post on common enclosure design problems works through the stack-up.

Self-tapping screws where service happens

A self-tapping boss suits a screw that goes in once or twice, with a thread depth of at least 4 mm. A service panel or battery door that opens throughout the product’s life needs heat-staked brass inserts. The choices are covered in our guide to inserts, bosses, hinges and latches.

Calling a closed box sealed

Joints, cutouts and lids all leak unless something seals them. Water resistance comes from gaskets, the compression on them and the fastener spacing that holds it, and an IP rating comes from testing the finished product, not from the material.

Choosing the flame rating last

Learning at the test lab that an HB material is not acceptable means new material, new prototypes and sometimes a new color. Our flame-retardant ABS is stocked in black and white only, so a light grey V-0 housing becomes a question of paint, another material or a custom color, and custom colors need around 2,000 lb of material.

Where to go next

Read the design guide linked above for bend angles, boss heights and vent widths with numbers. Then check our stocked plastic sheets, which list each material’s UL 94 rating, gauges, colors and data sheet, before you commit to a wall thickness.

When you have a board model and a rough idea of where the product will live, send us your CAD files. An engineer replies within one business day, and the quote follows within 48 hours.

Keep reading

Related articles

Start your enclosure

Send the board. We’ll send the box.

Quotes come from an engineer, not a form robot. Attach CAD, photos or a sketch and we reply within one business day.

Request a Quote Call 425-493-1223

Or email sales@toolless.com · Mon–Fri, 7am–5pm PST

Call Request a Quote