3D Printed Enclosure Design: A Practical Guide for Electronics Projects

3D printed blue packaging box prototype fitted with a clear lid

A good 3D printed enclosure is the quickest way to turn a working circuit board into something you can hand to a customer, test in the field or show an investor. It is also where many projects lose weeks, because a box that looks right on screen rarely closes correctly on the first print. This guide covers the design decisions that matter most, with examples from enclosures we have designed and printed at Winnipeg Prototyping.

Start with the board, not the box

Model the circuit board first: outline, mounting holes, connector positions, tallest component and any cable exits. Then add clearance around each item. Connectors and switches are where most first prints fail, so confirm their exact dimensions from the datasheet or by measuring the real part with calipers, not from a catalogue image.

If you already have a PCB, send the board file or a STEP model with your request. If the board is still in design, it is cheaper to adjust a mounting hole now than to rework the enclosure later. We can design the PCB and the enclosure together.

Wall thickness, ribs and screw bosses

  • Walls: 2 mm is a sensible minimum for small FDM enclosures. Go thicker for large flat panels, or add ribs to stop them flexing.
  • Screw bosses: a boss with a pilot hole takes a self-tapping screw for a few cycles. For a lid that opens often, press or heat-set a brass insert instead.
  • Corners: rounded internal corners print more cleanly and resist cracking where the box is stressed.
  • Print orientation: layers are weakest between each other, so design hinges, clips and screw bosses to sit across the layers rather than along them.

Tolerances for lids and mating parts

Printed parts are not machined parts. Allow a small gap, typically 0.2 to 0.4 mm depending on the printer and material, where two printed surfaces meet. The right value is found by printing a test fit, which is why a lid and base usually go through more than one revision.

Printed blue packaging box prototype with a hinged clear lid open
A box prototype with ribbed walls and hinge features that had to line up with an existing clear lid. It took six revisions to get the lid fit right.

Choosing a material

Material Good for Approx. max temperature
PLA Fit checks and visual models 60 °C
PETG General electronics enclosures, moisture resistance 80 °C
ABS / ASA Warmer environments, outdoor use (ASA) 105 °C
Polycarbonate Tough, high-temperature housings 135 °C
Nylon Snap fits, hinges and wear parts 80 °C
TPU Gaskets, bumpers and flexible seals 80 °C

For most indoor electronics, PETG is the best starting point. Use ASA if the enclosure sits in sunlight or a vehicle. See our 3D printing service for the full material list.

Plan for revisions

Expect two to four print iterations before an enclosure is final. One controller enclosure we designed for a Manitoba manufacturer went through many versions until the board, connectors and lid aligned. A lidded laboratory sample box and beaker holder were modelled from the customer’s sketches and printed after several fit revisions. Printing a prototype each time costs little and shows problems that a screen cannot.

3D printed laboratory sample box with a fitted lid
A lidded sample box printed for a materials testing laboratory after several fit revisions.

Venting, cable exits and assembly

  • Add vents or slots if the electronics run warm, and keep them away from the connector side so cables do not block airflow.
  • Give cables a strain relief or a sealed grommet slot.
  • Design for service: a lid held by four screws, as in the enclosure below, lets you open the box without breaking clips.
Black 3D printed electronics enclosure lid with four screw holes
A two-part enclosure lid with four screw positions, printed in two revisions for a local electronics developer.

What does a printed enclosure cost?

FDM printing starts at $30 CAD and resin at $40 CAD. CAD design starts at $200 CAD. Final cost depends on size, material and how many revisions you need. See pricing, or upload your STL for an instant quote on the 3D printing page.

Frequently asked questions

How thick should the walls of a 3D printed enclosure be?

Use at least 2 mm for small FDM enclosures. Thicken or rib large flat panels so they do not flex.

Which material is best for an electronics enclosure?

PETG suits most indoor electronics. ASA is better for sunlight or warm environments, and polycarbonate for higher temperatures.

How many prototypes will I need?

Plan for two to four. The first print finds the clearance problems, and later ones tune the lid, connectors and screw positions.

Can you design the enclosure around my circuit board?

Yes. Send the board file, a STEP model or the board dimensions and connector positions, and we design and print the enclosure in Winnipeg. We can also design the board and the enclosure together.

Do you print small batches of enclosures?

Yes. We print single prototypes and small batches in-house, with local pickup and shipping across Canada and the US.

Get an enclosure designed and printed in Winnipeg

Winnipeg Prototyping designs and prints custom enclosures for startups, product teams and hobbyists. Combine CAD design, PCB design, firmware and 3D printing in one workflow, or upload your file for an instant 3D printing quote. Questions about your project? Contact us.

Have a project in mind?

Tell us what you are building. We help with electronic parts, PCB design and manufacturing, CAD modelling and 3D printing, with local pickup in Winnipeg and shipping across Canada and the USA.

Contact Us

    Leave a Reply

    Your email address will not be published. Required fields are marked *