Part Type
Custom Control Enclosures & Operator Housings
A base and a cover machined from solid, with the switch and connector openings where your drawing puts them.
A control enclosure or operator housing is a two-part machined box, a base and a cover, that carries the pushbuttons, selector switches, displays and connectors an operator uses. It is cut from solid 6061 aluminum to your print, with each opening sized to the data sheet of the device that goes in it. Send a STEP file and a PDF through the quote form. There is no minimum, one piece to production runs of 10,000, and a person quotes it in 24-48 hours.
Updated November 2026
Before you send it
No C of C or material certifications ship with parts by default. If your PO needs them, say so before the quote. Inspection reports on critical dimensions aren’t included by default. If you need one, ask when you place the order.
What ships with an order covers inspection, inspection reports and certificates in one place.
If a part doesn’t match the print, it’s remade or credited.
What a machined control enclosure is
Handheld pendant boxes, panel-mount operator stations and machine control boxes are the usual shapes, in quantities from a prototype pair to a short run.
This page covers the control end of the family. The general case, including board enclosures and housings with bores, is on machined enclosures and housings; flat front panels are on bezels and faceplates; and the knobs that go on the front are on custom knobs.
What size are the openings for pushbuttons and selector switches?
Panel operators come in two common body sizes, 22 mm and 30 mm, and each maker publishes its own cut-out. The figures below are what three makers print for their own devices. They do not agree to the tenth, which is the point: the print should carry the cut-out from the data sheet of the exact device.
Carry the anti-rotation feature and the panel thickness as well. One maker’s 22 mm emergency stop takes a panel between 1.0 and 10.0 mm thick (source 2), so a thick machined cover may need a local recess behind each operator. Marks, legends, logos and index marks on machined parts are quoted with the part when they are drawn on the print.
| Device | Cut-out as published | What stops it turning |
|---|---|---|
| 22 mm operator, one maker | 22.3 to 22.7 mm (source 1) | A notch in the hole; optional on that maker’s plastic heads (source 1) |
| 22 mm emergency stop, another maker | 22.5 mm, +0.4 mm (source 2) | A 3.2 mm notch for the tab of the anti-rotation ring (source 2) |
| 30 mm operator, one maker | 30.5 mm (1.20 in) (source 3) | A 5 mm recess above the hole, needed with a nameplate or anti-rotation ring (source 3) |
| 30 mm operator, another maker | 31 mm (1.22 in) (source 1) | As that maker’s data sheet shows |
What connector and cable openings need on the print
A connector either threads into the wall or passes through a plain hole and is held by a nut, and the print has to say which. The table gives makers’ published cut-outs for common cases; use the sheet for the connector you are buying.
For a tapped entry, give the thread, its depth and the wall thickness at that point. For a plain hole, give the hole, any flats and the panel thickness the connector accepts. D-subminiature connectors have published cut-out tables by shell size, with different openings for front and rear mounting (source 6), so say on the print which side the connector mounts from.
| Opening | As published | Print should name |
|---|---|---|
| M12 panel connector, front mount, M16 x 1.5 thread | A 16.1 mm hole, with 13.5 mm across flats where flats stop it turning, or a tapped M16 x 1.5 hole; panel up to 6.5 mm (source 4) | Plain or tapped, the flats, the wall thickness |
| M12 panel connector, PG9 thread | A 15.3 mm cut-out with a flat at 13.5 mm; panel up to 4.5 mm (source 5) | The cut-out, the flat, the wall thickness |
| Metric cable gland entry | Entry threads M12 x 1.5 through M63 x 1.5 (source 7) | The thread and its depth, or the clearance hole |
Finish and grounding
A finish called out on the print is quoted with the part. On a control enclosure that is usually anodize in clear, black or a color, or powder coat. A coating matters electrically: surfaces that have to stay bare for grounding or contact need protecting during finishing, because even a thin film of anodizing can dramatically increase electrical resistance (source 10). Mark the grounding pad, the bare faces and any masked threads on the print.
Ordering: what to send and quantities
- What to send. Any file type is accepted. A STEP model plus a 2D PDF drawing is ideal; IGES, SLDPRT, Parasolid, DXF, DWG, STL and ZIP all work, and a sketch, photo or new sample part can start a quote. Position, perpendicularity and runout callouts are quoted from the print.
- From a sketch or a sample. A fully dimensioned 2D PDF is quoted without a CAD line. If the design starts from a sketch, a new sample part or photos, CAD is quoted as its own line.
- Quantities. Ask for more than one quantity, such as 1, 25 and 100, and the quote shows each.
- Files, payment and lead time. How to order CNC parts and what ships with an order cover files, payment, vendor setup, blanket orders and lead time.
How to draw the cover screws and threads
Cover screws thread into bosses in the base, and aluminum threads need length. A university design lab’s fastener guide says to design threaded features with at least five threads of engagement (source 8), and one bolting supplier puts the usual minimum at about twice the nominal diameter in aluminum (source 9). Draw the boss deep enough for that, and give the thread and its depth on the print.
Threaded inserts are supplied and installed to the print: name the insert on the drawing.
Pocket features that change the cost
The pocket is most of the work. Draw the largest inside corner radius the board and the devices allow, and keep openings on as few walls as the layout permits. The machining cost page covers the general drivers.
Questions
Before you send a job.
01 Can a control enclosure be machined as a two-part base and cover?
Yes. The base and the cover are each cut from solid 6061 aluminum to your print and quoted as a set, with the cover screw bosses, the openings and the mating faces as drawn. One set is a normal order, and there is no minimum.
02 What hole does a 22 mm pushbutton need?
It depends on the device. One maker recommends a cut-out of 22.3 to 22.7 mm and another calls for 22.5 mm with a notch for the anti-rotation tab. Put the cut-out from the data sheet of the exact device on the print, with the notch and the panel thickness.
03 Can you machine openings for M12 connectors and cable glands?
Yes, to the print. A connector that threads into the wall needs the thread and its depth; one held by a nut needs the hole, any flats and the wall thickness.
04 Can the legends be engraved on the cover?
Yes. Marks, legends, logos and index marks on machined parts are quoted with the part when they are drawn on the print. Say whether the legend is cut before or after the finish.
05 Can threaded inserts go in the cover screw bosses?
Yes. Threaded inserts are supplied and installed to the print. A helical wire insert is the usual choice where a cover comes off often. Name the insert on the drawing.
06 How do I keep the enclosure grounded after anodizing?
Mark the faces that have to stay bare. Even a thin film of anodizing can dramatically increase electrical resistance, so a grounding pad or contact face is masked during finishing when the print calls for it.
Related
Where to go next.
Machined Enclosures & Housings
The general page: board enclosures and housings.
View →Custom Chassis
The frame or tray the boards mount to.
View →Bezels & Faceplates
Front panels and trim rings.
View →Custom Knobs
Turned and knurled control knobs.
View →Anodizing
Quoted with the machined part.
View →Get a Quote
STEP + PDF in, numbers back in 24-48 hours.
View →Sources (10)
Cut-out figures are each maker’s published specification for its own product, cited as plain text. Use the data sheet for the device you are buying.
1. Schneider Electric, FAQ "Which knockout punch size should be used to make a 22 mm push button hole for Harmony operator dialog device?", published 28 September 2026: se.com/us/en/faqs/FAQ000283889 (recommended panel cut-out 22.3 to 22.7 mm; the anti-rotation notch is optional on the plastic heads). Schneider Electric, FAQ "What is the mounting hole diameter of a 30mm pushbutton?", modified 22 April 2026: se.com/us/en/faqs/FA127483 (31 mm or 1.22 in for that line).
2. Eaton, Assembly Instructions P50221, "E22 Mechanical Latching Emergency Stop Pushbutton", effective June 2011 (a panel knockout of 22.5 mm with a notched key for the tab of the anti-rotation ring; hole tolerance, notch width and panel thickness of 1.0 to 10.0 mm read from the drawing).
3. IDEC, catalog page "30mm TWTD Series, Oiltight Switches & Pilot Devices", panel cut-out drawing, no date shown (30.5 mm, 1.20 in, mounting hole; the 5 mm recess is necessary when either the nameplate or the anti-rotation ring is used).
4. binder, product data sheet for part 99 0642 20 05, "M12 Female panel mount connector, M16x1.5, Front mounting", 29 December 2025 (panel cut-out drawing: 16.1 mm hole, 13.5 mm across flats, or an M16 x 1.5 thread; panel up to 6.5 mm).
5. Tensility, drawing 54-00236, "Connector, M12 A-code socket, panel mount", revision A, 6 October 2020: tensility.s3.amazonaws.com/uploads/pdffiles/54-00236.pdf (panel cutout, PG9; 15.3 mm with a flat at 13.5 mm; panel thickness 4.5 mm maximum).
6. EDAC, "D-Sub Panel Cut-outs": edac.net/products/dsub-panel-cutouts/182, no date shown (two options of panel cut-out, for front and back mounting, tabulated by shell size).
7. Lapp, catalog appendix T21, "Thread Dimensions for Cable Glands", no date shown (metric threads M12 x 1.5 through M63 x 1.5).
8. University of Florida, EML2322L Design and Manufacturing Laboratory, "Fastener Reference Guide": web.mae.ufl.edu/designlab, no date shown (design threaded features with at least 5 threads of engagement).
9. Nord-Lock Group, "The Experts: Thread engagement in a tapped hole": nord-lock.com/insights/bolting-tips/2015/the-experts-thread-engagement-in-a-tapped-hole (minimum recommended engagement approximately 1 times the nominal diameter in steel and 2 times in aluminum).
10. Brian Asik, Custom Fabricating & Supplies, "Protecting Grounding Areas: A Critical Step in Coating and Plating", Products Finishing, 5 June 2026: pfonline.com/articles/protecting-grounding-areas-a-critical-step-in-coating-and-plating- (surfaces that must stay uncoated for grounding or contact need protecting; even a thin film of anodizing can dramatically increase electrical resistance).
Get Started
Send us your files.
We’ll take it from there.
A quote in 24-48 hours, no minimums. Like the quote, and we’ll make your parts and ship them to you.
Get a Quote