Custom 3D Modeling for 3D Printing

A Case Built Around Your Board.

An enclosure is a set of constraints before it is a shape. The board sets the internal footprint, the connectors set the walls, the cable entry sets where the lid splits, and the heat sets the vents. Before modelling, we need the board outline and its mounting hole positions, the height of the tallest component, the position and size of every port that has to stay accessible, and how the case will be assembled — screws, clips or a sliding lid. Photos of the board with a rule across it are often faster than a drawing, because they show where each connector sits relative to the edges. If no drawing of the board exists, measured outline plus the two hole spacings are enough to start.

The board defines the case, not the other way round

A printable PCB enclosure is driven by four numbers: the board's outline, the spacing of its mounting holes, the height of the tallest component on each side of the board, and the size of the connectors that must remain reachable. Everything else — wall thickness, fillets, vents, the lid — is decided around those. When a case is designed from a drawing that ignores the board, the first print usually ends with a connector that cannot be plugged in.

Where the board sits is therefore the first decision, not the last. Stand-offs come off the base at the same spacing as the board's holes, the board's underside clearance sets how far the base plate sits below it, and the internal height follows from the tallest component plus a small margin. Get that stack right and the rest of the case tends to fall into place.

What to measure on the board

A Case Built Around Your Board.
  • Board outline: length, width and thickness, measured at the widest point including any tab or notch.
  • Mounting hole spacing, centre to centre, in both directions, plus the hole diameter.
  • Height of the tallest part on the component side, and separately on the solder side.
  • For each port: centre position along the board edge, the connector's outside dimensions, and the height of its centreline above the board.
  • The cable or wire entry if one exists, and the direction it leaves the case.
  • Anything that must be touched after assembly: buttons, switches, a card slot, an indicator light.

The decisions a printable enclosure has to make

Once the internal stack is fixed, the case is a short list of deliberate choices. Each one trades something off, and each one is easier to agree before modelling than to correct after printing.

Enclosure decisions and what drives them

DecisionOptionsWhat we need from you
Wall thickness1.6 mm to 3 mm depending on material and handlingThe material, and whether the case will be handled or mounted and left alone
LidScrewed, snap-fit, or a sliding panelHow often the case has to be opened after assembly
VentilationSlots, a grille, or open sides with a partial insertWhether anything inside produces heat, and whether dust or splash is a concern
MountingBosses, flanges, a base plate or a rail clipWhat the case is fixed to, and from which direction the fasteners go in

Ports, lids and assembly are where printed cases fail

Most first prints of an enclosure work everywhere except one opening. The reasons repeat: a cut-out sized to the connector body rather than to the plug that has to pass through it, a lid that closes on a cable, or a snap-fit tab printed in the direction that breaks it. These are avoidable with a few rules applied while the model is open.

  • Size every cut-out for the plug, the overmould and the cable bend radius — not for the socket on the board.
  • Give each port a small internal clearance so a connector that sits a fraction of a millimetre off centre still enters.
  • Split the lid so the cable entry can be closed around a terminated cable rather than threaded through a hole first.
  • Orient snap-fit tabs so they bend across the layer lines, not along them, or use screws where the case gets reopened.
  • Keep screw bosses at least one wall thickness from the outer surface, with a pilot hole sized for the screw being used.
  • Add a small flat area for a label or a QR sticker if the product will be handled by someone else.
A Case Built Around Your Board.
A Case Built Around Your Board.

Model, test fit, then finalise

The model is delivered as enclosure CAD with the internal features separate from the shell, so a stand-off can be changed without rebuilding the whole case. From that, a print-ready STL or 3MF is exported, and the slicer settings that matter — orientation, layer height and support placement on the internal faces — are chosen before the file is handed over.

For a first enclosure, printing one and fitting the board against it is worth the time. Prototype printing is available as an optional step after the model review, and the part is revised from what the test fit shows rather than from what the screen shows. Editable CAD is available if you want to keep iterating on the case yourself.

Send a photo of the board with a rule lying across it, plus the two mounting hole spacings. That combination is usually enough to begin modelling before any formal drawing exists.

A Case Built Around Your Board. — MMFORM LAB

Frequently asked questions

Frequently asked questions

I do not have a drawing of my PCB. Can you still design the case?
Yes. Lay the board on a sheet of paper, trace the outline, mark the two mounting holes and measure their centre-to-centre spacing and the tallest component. Photograph that page with a rule in frame, add a photo of every connector, and we can model the internal fit from those images.
How do I stop the case blocking a connector?
Measure the plug rather than the socket, including the cable boot, and state the direction the cable leaves in. The cut-out then gets sized for the largest item that must pass through, plus clearance. Sending one photo of the connector with its cable attached prevents this problem more reliably than any dimension list.
Should the lid be screwed or a snap fit?
Screws for anything opened more than once or twice, snap fits for cases that are closed at assembly and left. Printed snap-fit tabs are layer-direction sensitive, so they have to be oriented deliberately. If you are unsure, a screwed lid with two or three bosses is the more forgiving choice.
Can the case be made to keep water or dust out?
Printed enclosures are not sealed assemblies, and we will not claim they are. What can be done is a lip-and-groove joint between base and lid, plus a gasket channel for a soft cord, which reduces dust and splash ingress. Treat it as a mechanical improvement rather than a rating.
Can you add mounting holes so it fits my equipment?
Yes, but measure the mounting surface rather than the case. Send the hole spacing on the panel or wall it attaches to, the screw size, and the direction the screws are driven from. A flange with slotted holes is often the better answer, because it tolerates a small mismatch in spacing.
How do I handle heat inside the enclosure?
Tell us what produces heat and roughly how warm it gets, and whether the case is in still air or moving air. Vents are placed low on one side and high on the opposite side so air can move through, and internal ribs are kept clear of the airflow path rather than blocking it.

A Case Built Around Your Board.

An enclosure is a set of constraints before it is a shape. The board sets the internal footprint, the connectors set the walls, the cable entry sets where the lid splits, and the heat sets the vents. Before modelling, we need the board outline and its mounting hole positions, the height of the tallest component, the position and size of every port that has to stay accessible, and how the case will be assembled — screws, clips or a sliding lid. Photos of the board with a rule across it are often faster than a drawing, because they show where each connector sits relative to the edges. If no drawing of the board exists, measured outline plus the two hole spacings are enough to start.