Guides

3D-printed enclosures for electronic prototypes

3D printing makes it possible to get a custom enclosure for an electronic prototype quickly. You still have to choose the right process and material, and know the limits of the method. This guide compares the common processes, presents the materials and gives advice on integrating the board, connectors and thermal management.

General, indicative information with no contractual value. Every project is assessed individually.

Contents

FDM, SLA, SLS: three processes, three trade-offs

Fused deposition modeling (FDM or FFF) builds the part layer by layer from a thermoplastic filament. It is the most accessible process and the quickest to set up for a first version. Layers remain visible and the part is weaker along the vertical axis, between layers, than in the plane.

Stereolithography (SLA, and its LCD/MSLA or DLP variants) cures a liquid resin with light. It produces fine detail and smooth surfaces, which are valuable for a presentation model or small precise parts. Standard resins can be brittle and degrade under light; parts require washing and post-curing.

Selective laser sintering (SLS) fuses a powder, most often polyamide. It needs no supports, which allows complex shapes, and produces parts with more uniform mechanical properties. The surface is slightly grainy and the process is generally available only from equipped service providers.

ProcessStrengthsLimitations
FDMAccessible, fast, wide choice of engineering materialsVisible layers, lower strength between layers, limited fine detail
SLAFine detail, smooth surfaces, good accuracyResins often brittle, UV-sensitive, post-processing required
SLSNo supports, robust and functional partsGrainy surface, less direct access, porosity to take into account

Tolerances and fits

A printed part never has exactly the dimensions of the model. Material shrinkage, nozzle diameter, part orientation and machine settings introduce deviations in the order of a few tenths of a millimeter in FDM, generally less in SLA. Holes often come out slightly smaller than intended.

In practice, you design functional clearances between the board and the enclosure, between two half-shells or around a connector, then validate them with a test part. For a precise fit, it is more reliable to print a small test coupon of the critical area than to reprint the whole enclosure. The dimensions that really matter should be identified on the drawing and checked.

Choosing the material

The material is chosen first according to the operating environment: temperature, sun exposure, mechanical loads, contact with chemicals. The temperatures quoted by material manufacturers vary between grades; the values below are general trends, to be confirmed on the datasheet of the selected material.

MaterialAdvantagesLimitations to be aware of
PLAEasy to print, stiff, good appearanceSoftens at moderate temperatures: avoid near a heat source, in sunlight or in a vehicle
PETGTougher and more heat-resistant than PLALess crisp surface, prone to stringing during printing
ABS / ASABetter temperature resistance; ASA withstands UV betterShrinkage and warping during printing, requires an enclosed machine and ventilation
Nylon (polyamide)Tough, wear-resistant, suitable for clips and hingesAbsorbs moisture, which alters its properties and complicates printing
Resins (SLA)Fine detail; tough or high-temperature resins are availableOften more brittle, UV aging, properties vary widely between resins

The limits to keep in mind

A 3D-printed enclosure is an excellent prototyping tool, but it is not equivalent to an injection-molded part. Materials, surface finish, mechanical strength and part-to-part consistency differ. An enclosure intended for injection molding will have to be reworked for that process: draft angles, uniform wall thickness, ribs, gate locations.

Sealing cannot simply be declared. An FDM part can be porous between layers, and an IP rating can only be achieved with an appropriate design (gaskets, cable glands, assembly) followed by testing to the relevant standard. A printed enclosure should therefore not be described as waterproof without testing.

Finally, common materials are not flame-retardant. For a mains-powered product or one containing high-capacity batteries, the enclosure’s fire behavior is part of the safety requirements: it calls for specific materials and a conformity assessment, beyond the prototype stage.

Designing for the board, connectors and heat

The enclosure is designed from the 3D model of the assembled board, exported from the ECAD software, taking into account the tallest components and the connectors. A few rules avoid most rework:

  • Mount the board on bosses with heat-set threaded inserts, rather than screwing directly into the plastic, if the enclosure will be opened several times.
  • Plan the mounting holes at the board layout stage, with a keep-out area free of copper and components around the screws.
  • Leave clearance around the board and check the space underneath it for the solder joints of through-hole components.
  • Size connector cut-outs with a margin and check that overmolded cable plugs fit through.
  • Avoid having mating forces carried by the connector’s solder joints alone: bearing against the wall, a panel-mount connector or mechanical retention.
  • Provide light pipes for indicator LEDs and mechanical plungers for buttons located on the board.
  • Think about heat: plastic insulates. Identify the components that heat up, provide ventilation slots or a thermal path, and take the material’s softening temperature into account.
  • Keep antennas away from thick walls, metallic paints and metal screws.
  • Provide a cable tie point or a strain-relieved passage for cables leaving the enclosure.

Frequently asked questions

Can a 3D-printed enclosure be waterproof?

It can be designed to be, with gaskets and an appropriate design, but no IP rating can be claimed without testing to the standard. FDM parts in particular can be porous between layers.

Which material should I choose for a first prototype?

PLA is suitable for validating shapes and integration indoors. As soon as the enclosure has to withstand heat, sunlight or mechanical loads, PETG, ASA or nylon are better suited.

Can you go straight from 3D printing to injection molding?

Not without reworking the design. Injection molding has its own rules (draft angles, uniform walls, ribs) and uses different materials. The printed prototype serves to validate use and integration before that step.

Have a specific project?

Describe it in a few minutes; we get back to you with specific questions or a first direction.

Message us on WhatsApp