Enclosure Design: CAD Drawings and a Rule Check

Start an enclosure design from its outer size: set wall, corners, draft, screw bosses, ribs, vents and a port, and get a dimensioned three view sheet with a hatched section, checked against moulding, printing and machining rules. Or describe the box and AI draws a picture.

  • Three views and a section
  • Wall, draft and boss checks
  • IP limit of the openings
  • Free DXF, SVG and PDF
0 / 1,000
Try

Drawing style

Technical

Full sheet: views, a section, notes and a title block.

You get a CAD-style PNG made by AI, not an editable CAD file. Trace it to DXF for free afterwards.

Vented box, drawing sheet

AI-generated example
AI-generated technical drawing of a vented electronics enclosure: dimensioned top, side and end views, the open base with bosses, slot and boss details and a small spec table

Prompt idea: Two-part ABS electronics enclosure, 120 x 80 x 35 mm, 2.5 mm wall, snap-fit lid, vent slots on both long sides, four PCB bosses with M3 holes; dimensioned three views and a boss section. Your result will differ.

Free sheet generator

Enclosure design sheet generator with a rule check

Change any input and the sheet redraws: front, top and side views, a section through two bosses, notes and a title block. The list beside it flags walls, drafts and bosses a moulder or a printer would question. It runs in your browser and nothing is uploaded; for a printable STL, use the enclosure generator.

Outer size

mm
mm
mm

Shell

mm
mm
mm
°

Screw bosses

mm

Wall ribs

mm

Openings

mm
mm
mm

Sheet

120 × 80 × 35 mm · Injection moulded ABSA3 · First angle · mm
A3Drawn byChecked byApproved byDate2026-11-28MaterialABS, injection mouldedProjectionScale1:1UnitsmmSizeA3Sheet1 / 1CompanyTitleElectronics enclosure 120 x 80 x 35, ABSDrawing no.ENC-120x80x35RevA2335FRONT1046412080R4AATOP5X SLOT 2 x 12RIGHT SIDEWALL 2.5BOSS Ø5, HOLE Ø2SECTION A-ANOTES1. ABS. UNIFORM WALL 2.5.2. DRAFT 1° PER SIDE. SIZES AT SPLIT.3. INSIDE CORNERS R1.5 MIN.4. 4X BOSS Ø5, PILOT FOR M2.5 THREAD-FORMING Ø2.5. LID 4X Ø2.9 THRU (ISO 273 MEDIUM).6. RIBS 1.5 THICK, 2 PER LONG WALL.7. PORT USB-C 9.6 x 3.9, CENTRE 9 UP.
Inside size
115 × 75 × 30
Inside volume
259 cm³
Mass, est.
82 g
Base / lid
23 / 12 mm
Boss
Ø5 / Ø2
Boss pattern
104 × 64

Design rule check8 ok

  • Wall thickness. 2.5 mm sits in the 1.14 to 3.56 mm range for ABS. Keep it the same everywhere.
  • Corner radii. Inside R1.5 is at least half the wall; outside R4 = inside + wall.
  • Draft. 1° per side releases cleanly from a polished tool; textured faces need more.
  • Rib thickness. 1.5 mm is 60 % of the wall, inside 40 to 60 %.
  • Boss diameter. Ø5 is at least 2 × the M2.5 screw, enough plastic for the thread.
  • Boss wall. 1.5 mm around the pilot is within 60 % of the wall.
  • Screw depth. 20.5 mm of boss under the split gives the M2.5 screw 2 × d or more.
  • Vents and port. Every opening fits on its face.

IP code of the openings

IP2X at best

The USB-C opening is 3.9 mm across at the narrowest, so the 2.5 mm test rod gets in: while open, the box tops out at IP2X. Water stays unrated until the openings are sealed or baffled and tested.

IP code digits (IEC 60529)
First digit: solids
0Not protected. No test.
1Objects over 50 mm. A 50 mm sphere must not pass (the back of a hand).
2Objects over 12.5 mm. A 12.5 mm sphere must not pass; the jointed test finger must not reach live parts.
3Objects over 2.5 mm. A 2.5 mm rod must not enter (tools, thick wires).
4Objects over 1.0 mm. A 1.0 mm wire must not enter.
5Dust-protected. Some dust may enter, never enough to harm operation.
6Dust-tight. No dust enters in the dust chamber test.
Second digit: water
0Not protected. No test.
1Dripping water. Vertically falling drops.
2Dripping water, tilted 15°. Drops with the enclosure tilted up to 15°.
3Spraying water. Spray up to 60° from vertical.
4Splashing water. Splashes from any direction.
5Water jets. 6.3 mm nozzle from any direction.
6Powerful water jets. 12.5 mm nozzle from any direction.
7Temporary immersion. Up to 1 m deep for 30 minutes.
8Continuous immersion. Deeper or longer than 7, as agreed with the maker.
9High pressure, hot jets. Close range, high pressure, high temperature water (added 2013).

Need the printable box? Build it as an STL in the enclosure generator

Guidance from common moulding, printing and machining rules, not a mould-flow study. Confirm pilot holes with your screw maker.

Examples

Enclosure CAD drawing examples

Three enclosure design sheets made with the generator above, each with its DXF, next to AI pictures from the generator at the top of the page.

  • Moulded ABS sensor box: 120 × 80 × 35 mm, 2.5 mm wall, 1° draft, four M2.5 bosses with gusset ribs, two ribs per long wall, end vents and a USB-C port. Every rule passes; the openings cap it at IP2X.

    Drawn with the sheet generator

    Moulded ABS sensor box

    120 × 80 × 35 mm, 2.5 mm wall, 1° draft, four M2.5 bosses with gusset ribs, two ribs per long wall, end vents and a USB-C port. Every rule passes; the openings cap it at IP2X.

    A3 · 1:1 · ABS · IP2X at best · 82 g

  • Printed Pi case in PETG: 100 × 72 × 34 mm with a 2 mm wall, five lines of a 0.4 mm nozzle, heat-set insert bosses and lid slots. No draft, because printing needs none.

    Drawn with the sheet generator

    Printed Pi case in PETG

    100 × 72 × 34 mm with a 2 mm wall, five lines of a 0.4 mm nozzle, heat-set insert bosses and lid slots. No draft, because printing needs none.

    A3 · 1:1 · PETG · insert bosses · 65 g

  • Sealed PC outdoor box: 150 × 100 × 60 mm, 3 mm wall, 1.5° draft, M3 bosses and three ribs per wall, no openings: a start for an IP65 design once a gasket is added and tested.

    Drawn with the sheet generator

    Sealed PC outdoor box

    150 × 100 × 60 mm, 3 mm wall, 1.5° draft, M3 bosses and three ribs per wall, no openings: a start for an IP65 design once a gasket is added and tested.

    A3 · 1:1 · PC · no openings · 209 g

  • Vented box, drawing sheet: A technical style picture with three views, boss and slot details and a small spec table. Good for a concept; its numbers are illustrative.

    AI-generated example

    Vented box, drawing sheet

    A technical style picture with three views, boss and slot details and a small spec table. Good for a concept; its numbers are illustrative.

  • Screw-fastened box, views: An isometric view above top, front and side views, with banks of vent slots and four corner screws in the lid.

    AI-generated example

    Screw-fastened box, views

    An isometric view above top, front and side views, with banks of vent slots and four corner screws in the lid.

  • Handheld housing: Front, side and back views of a handheld shell as clean line art, handy for an early product review.

    AI-generated example

    Handheld housing

    Front, side and back views of a handheld shell as clean line art, handy for an early product review.

Prompt builder

Describe an electronics enclosure design for the AI

Pick the type, size, material, inside features, lid closure, openings and views. Apply writes one clear prompt into the generator at the top of the page.

Generated prompt

Technical
CAD style drawing of an electronics enclosure. Rectangular two-piece desktop electronics enclosure split at a parting line. Size: 120 x 80 x 35 mm, 2.5 mm wall. Injection moulded ABS with 1 degree draft and uniform walls. Four screw bosses tied to the walls with gusset ribs, plus stiffening ribs on the long walls. Lid held by four corner screws. Vent slots on both ends and a USB-C cut-out on the front. Dimensioned front, top and side views and a section through two bosses.

Start from a template

Design rules

Enclosure design rules the checker applies

Five habits behind most good electronics enclosure design, with the numbers the checker uses. They come from moulder and print service design guides, each checked against a second source.

  1. Section through an enclosure corner with a uniform 2.5 mm wall, an inside radius of 1.25 mm (half the wall) and an outside radius of 3.75 mm, drawn by our engine
    Corner detail, drawn by our engine

How to

How to make an enclosure CAD drawing in 3 steps

With the free enclosure design sheet generator; the AI generator at the top works from words or a sketch instead.

  1. STEP 1

    Set the size and shell

    Type the outer length, width and height, pick a two piece box or a flat lid, then set the wall, corner radius, draft and the process.

  2. STEP 2

    Add bosses and openings

    Choose the screw size and boss layout, add ribs, vent slots and a front port, and read the rule list as you go.

  3. STEP 3

    Download the sheet

    Save it as DXF for CAD, SVG for documents or PDF to print. Take the same box to the enclosure generator when you want an STL.

Measure the board first

Inside size is the board plus clearance; the stats show it live.

Keep one wall

Thick and thin walls in one part warp and sink.

Plan the screw depth

Leave two screw diameters of boss under the split.

Seal or vent

Open vents cap the IP code; a sealed box needs a gasket.

Three tools

Sheet, AI or STL: which enclosure design tool to use

The sheet generator draws and checks, the AI is quick at a concept picture, and the enclosure generator makes the printable box.

Sheet input
Outer size, two piece or flat lid, wall, corners, draft, process, bosses, ribs, vents and a port
Sheet output
A4, A3, ANSI A or B as DXF R12, SVG and PDF, in mm or inches, first or third angle
Rule check
Wall, corner radii, draft, ribs, boss size and wall, screw depth and openings, per process
Sheet cost
Free, no account, nothing uploaded
Printable box
The enclosure generator: an STL built around your circuit board
AI input
A written description, or a sketch or photo (PNG, JPG or WebP up to 10 MB)
AI output
A CAD-style PNG at 1K or 2K, not an editable CAD file
AI cost
60 credits at 1K, 80 at 2K; refunded if a run fails

It does

  • Draw three views and a hatched section through two bosses
  • Dimension the size, split, boss pattern and corner radius
  • Check wall, draft, ribs and bosses for the chosen process
  • Show the IP limit set by vents and ports
  • Export DXF, SVG and PDF in mm or inches

It does not

  • Run mould flow, strength or thermal analysis
  • Prove an IP rating; only a test can
  • Draw snap fits, gasket grooves or card guides yet
  • Make the STL; the enclosure generator does
  • Turn the AI PNG into a CAD file by itself

Enclosure design FAQ

Walls, draft, bosses, IP codes, files and the tools.

What is enclosure design?

Enclosure design is shaping the housing around electronics: outer size, wall, how it splits and closes, how boards mount, and where air, cables and buttons pass. A good enclosure design also suits its process, whether moulding, printing or machining.

What wall thickness should an electronics enclosure have?

For moulded ABS about 1.1 to 3.6 mm and for PC 1.0 to 3.8 mm, with 2 to 2.5 mm common on hand sized boxes. Printed walls work from 0.8 mm in steps of the nozzle width; machined aluminium from 0.8 mm, though 1.5 mm is stiffer.

How much draft does a plastic enclosure need?

At least 0.5 degrees per side, and 1 to 2 degrees for a clean release. Textured faces need more, roughly one extra degree for every 0.025 mm of texture depth. Printed and machined parts need none.

How big should screw bosses be?

For thread forming screws in plastic, an outside diameter of about twice the screw size, a pilot near 0.8 times the screw size and at least two screw diameters of depth. Confirm the pilot with your screw maker, because materials differ.

Why do thick ribs cause sink marks?

A thick rib holds heat where it joins the wall, and the plastic shrinks there as it cools, pulling a dent into the outside face. Ribs at 40 to 60 percent of the wall avoid it.

What does IP65 mean for an enclosure?

The first digit, 6, means dust tight; the second, 5, means protected against water jets from a 6.3 mm nozzle. The rating comes from IEC 60529 tests on the finished, assembled product.

Can this tool tell me my enclosure is IP67?

No. It shows the most the openings allow: a vent or port wider than 2.5 mm caps an open box at IP2X. Sealed ratings depend on gaskets, screws, materials and assembly, and only a test proves them.

How is this different from the enclosure generator?

This page draws and checks the enclosure design as a dimensioned sheet. The enclosure generator builds a printable box around your circuit board and exports an STL. Many people use both.

Can I open the enclosure CAD drawing in AutoCAD?

Yes. The DXF is R12 with layers for outlines, hidden lines, centre lines, hatching, dimensions and the title block, so it opens in AutoCAD, Fusion, FreeCAD, LibreCAD and DraftSight. The PDF prints to scale.

First angle or third angle projection?

Pick what your shop reads: Europe, China and India mostly use first angle, while the US, Canada and Japan use third angle. The sheet moves the views to match, and the title block shows the projection symbol.

What does the AI enclosure drawing generator make?

A CAD-style PNG from your words or a sketch, at 60 credits for 1K or 80 for 2K. The sizes on it are illustrative and it is not an editable CAD file; Convert to DXF traces its lines for free.

Is the enclosure design sheet free, and is anything uploaded?

The sheet generator, its downloads and the trace to DXF are free with no account, and the sheet is made in your browser. Only AI pictures use credits; the AI sends your prompt or image to the image model.

Start your enclosure design

Draw and check an enclosure CAD drawing free, or describe the box and let AI draw a first picture.

Describe an enclosure