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
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
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
Shell
Screw bosses
Wall ribs
Openings
Sheet
- 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)
| 0 | Not protected. No test. |
| 1 | Objects over 50 mm. A 50 mm sphere must not pass (the back of a hand). |
| 2 | Objects over 12.5 mm. A 12.5 mm sphere must not pass; the jointed test finger must not reach live parts. |
| 3 | Objects over 2.5 mm. A 2.5 mm rod must not enter (tools, thick wires). |
| 4 | Objects over 1.0 mm. A 1.0 mm wire must not enter. |
| 5 | Dust-protected. Some dust may enter, never enough to harm operation. |
| 6 | Dust-tight. No dust enters in the dust chamber test. |
| 0 | Not protected. No test. |
| 1 | Dripping water. Vertically falling drops. |
| 2 | Dripping water, tilted 15°. Drops with the enclosure tilted up to 15°. |
| 3 | Spraying water. Spray up to 60° from vertical. |
| 4 | Splashing water. Splashes from any direction. |
| 5 | Water jets. 6.3 mm nozzle from any direction. |
| 6 | Powerful water jets. 12.5 mm nozzle from any direction. |
| 7 | Temporary immersion. Up to 1 m deep for 30 minutes. |
| 8 | Continuous immersion. Deeper or longer than 7, as agreed with the maker. |
| 9 | High 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.
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
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
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

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.

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.

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
TechnicalStart 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.
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.
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.
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.
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