Enclosures & cases

Emergency stop box for a 22 mm switch

An enclosure for a 22 mm emergency stop switch, the mushroom button that cuts power to a direct drive wheel base, sized to bolt on a 40 series aluminium profile within reach of the driver. The lid has the standard 22.3 mm panel hole, the body leaves about 60 mm behind it for the contact block, and a 12.7 mm hole takes a PG7 cable gland. Two M8 bolts through the floor hold it and the lid closes with four M3 screws into heat-set inserts. Walls are 2 mm, the floor and lid 3 mm. Print the body open side up and the lid flat, without supports. Describe your measurements and SpeakCAD builds it with AI (credits), then download STL, 3MF or sliced G-code.
No ready-made model yet: building it uses credits (4 credits for the part on a plan, its first 3 small changes free; Maker: 50 credits a month for $7.99, cancel anytime).Updated

No ready-made model for this part yet

Sign in and SpeakCAD builds it from the prompt below (4 credits for the part on a plan, its first 3 small changes free; Maker: 50 credits a month for $7.99, cancel anytime). Want to try the editor first? The live demo is free, no account.
1

Describe

Sign in: the example prompt below is filled in. SpeakCAD builds the part from it with AI, 4 credits for the part on a plan, its first 3 small changes free (Maker: 50 credits a month for $7.99, cancel anytime). Replace any number with what you measured first.
2

Adjust

Change its numbers in the viewer for free, or ask the AI for a change in the chat (2 credits for a small change, 1 for a quick edit, 3 for a redesign; the first 3 small changes are free on a plan).
3

Print

Download a watertight STL or 3MF, included in every plan (4 credits without one), or G-code sliced for your printer at the same price.

Example prompt

Design an emergency stop box for a 22 mm panel-mount mushroom switch, to bolt on a 40 series aluminium profile. Body 70 × 70 × 75 mm outside with 2 mm walls and a 3 mm floor; two 8.4 mm holes for M8 bolts in the floor, 40 mm apart, centred. A 12.7 mm hole for a PG7 cable gland in the middle of one side wall, 25 mm above the base. Four corner posts 8 mm square with 4 mm holes 6 mm deep for M3 heat-set inserts. Lid 70 × 70 × 3 mm with a 22.3 mm hole in the centre, four 3.4 mm screw holes over the posts and a 1.5 mm locating lip with 0.3 mm clearance. Print the body open side up and the lid flat beside it, no supports.

Build it with AI opens the app with this prompt already typed. Replace any number with what you measured before sending it; the rest of the design stays consistent.

Fit notes

Contact blocks are not all the same depth, and a box that is 10 mm too shallow will not close. Some switches stack two blocks, and a thicker cable needs a PG9 gland with a 15.2 mm hole. In SpeakCAD you set the inside depth, the gland hole and the bolt spacing to the parts on your bench.

Also searched as: emergency stop box stl, 22mm e-stop enclosure 3d print, sim racing emergency stop button box, direct drive e-stop case aluminium profile.

Questions people ask about an emergency stop box for a 22 mm switch

An enclosure for a 22 mm emergency stop switch, the mushroom button that cuts power to a direct drive wheel base, sized to bolt on a 40 series aluminium profile within reach of the driver. The lid has the standard 22.3 mm panel hole, the body leaves about 60 mm behind it for the contact block, and a 12.7 mm hole takes a PG7 cable gland. Two M8 bolts through the floor hold it and the lid closes with four M3 screws into heat-set inserts. Walls are 2 mm, the floor and lid 3 mm. Print the body open side up and the lid flat, without supports.

There is no ready-made model for this part yet. Click Build it with AI and sign in: the example prompt on this page is filled in, and SpeakCAD builds the part from it in your browser (4 credits for the part on a plan, its first 3 small changes free). Change any number in the viewer for free, then download a watertight STL or 3MF, included in every plan (4 credits without one), or G-code sliced for your printer at the same price. Start with Maker: 50 credits a month for $7.99, cancel anytime.

SpeakCAD builds it to your measurements from the example prompt on this page: the part uses 4 credits on a plan, its first 3 small changes free (3 without a plan), and a small change after them 2, then the STL or 3MF download is included in every plan (4 credits without one), or G-code sliced for your printer at the same price. Start with Maker: 50 credits a month for $7.99, cancel anytime. To try the editor before paying, the live demo is free, no account.

A shared STL is modelled for someone else's measurements. SpeakCAD builds this part to the millimetres you give it (AI requests use credits), so the file you download is sized for the part you actually own.

Yes. SpeakCAD slices the part on its servers with OrcaSlicer and your printer's official profile (380+ printers, including Bambu Lab, Prusa, Creality and Elegoo), and you download the G-code (a sliced .gcode.3mf for Bambu Lab printers). G-code sliced for your printer costs the same as the STL: included in every plan, free for a part you shaped by hand, 4 credits without a plan for a part with AI work in it. Pick your printer on the printers page to see its profile.

No. SpeakCAD runs in the browser on your phone or computer: the chat, the 3D engine and the live viewer load in the tab. The only file you download is the finished STL, 3MF or sliced G-code.

Build, adjust and print your emergency stop box for a 22 mm switch

Nothing to install. The prompt is waiting in the app after you sign in: SpeakCAD builds the part with AI (credits), no CAD skills needed, you check the fit, then download the STL, 3MF or sliced G-code.

Looking for a finished design by a maker? Browse the enclosures & cases on the marketplace, where makers share their models, most of them free.