3D Printing Generator
DeutschEnglish

Cover a light switch for smart bulbs

Why a light switch cover?

Smart bulbs have one well-known weakness: they only work while they have power. When someone flips the wall switch out of habit, the bulb drops off the network, the app shows it as unreachable, and your scenes, schedules and motion sensors stop doing anything. A light switch cover fixes that without any wiring: the cap sits over the rocker and the switch stays where it belongs, on.

This generator prints a switch cover sized to your switch. You measure the rocker, choose tabs or a tape flange and put a symbol or a short word on top. The cap is handy elsewhere too: over the switch of an outlet that powers the router or the freezer, or in a kid’s room where the night light should stay on. The examples show what you can make.

How the generator works

The switch cover generator runs entirely in your browser. Nothing is uploaded and you don’t need an account. You enter the sizes, the preview updates right away, and below the fields you see the outside size, the slope and the size of the design. When everything fits, download the file as STL or 3MF. Your settings live in the link; “Share” gives you an address to bookmark or pass on.

The cap has sloped sides and rounded corners. At the bottom it is as large as the rocker plus the wall; toward the top every side moves inward by the “Slope” value. The result looks like a low truncated pyramid: sturdy, and printable without supports.

Measuring the switch

The cavity matters most. It has to clear the rocker both pressed and unpressed without touching it. You need calipers or a ruler:

  1. Measure the rocker from top to bottom. That is the “Inside length (vertical)”.
  2. Measure it from left to right. That is the “Inside width (horizontal)”. For a double switch, measure both rockers together.
  3. Press the rocker so the other end sticks out and measure how far it rises above the frame. That is the “Inside height”.
  4. Add about 2 mm to length and width (1 mm of air per side) and 1–2 mm to the height.

To get started, pick a “Preset”. Presets are starting points, not standard sizes, so measure your switch anyway:

PresetInside lengthInside widthInside height
“Narrow rocker (27 × 27 mm)”27 mm27 mm5 mm
“Two narrow rockers (52 × 27 mm)”27 mm52 mm5 mm
“55 mm frame, 50 × 50 mm rocker”52 mm52 mm6 mm
“Wide paddle rocker (36 × 69 mm)”69 mm36 mm6 mm

The 55 mm frame is the common square European switch frame; the wide paddle is the tall decorator-style rocker. Length goes up to 90 mm, width up to 140 mm, height from 2 to 30 mm. Once you change a value, the preset switches to “Custom size”.

The cap: wall, top and slope

The “Cap” section has three values:

  • “Wall thickness” (0.8–3 mm, default 1.2 mm): 1.2 mm is three lines with a 0.4 mm nozzle and is fine for everyday use. The tall cap for protruding rockers uses 1.6 mm.
  • “Top thickness” (1–5 mm, default 2 mm): the material above the rocker. Engravings and inlays always leave at least 0.6 mm. If the top is too thin for that, the recess gets shallower and you see a note.
  • “Slope” (0–6 mm, default 2 mm): how far each side moves inward up to the top. It also sets the corner radius at the bottom; 0 gives straight walls. To keep the inside walls from overhanging, the generator limits the slope to 0.8 times the total height, and on small caps it reduces it further so a flat area remains on top.

Mounting: tabs or tape

Under “Mounting” you have three choices:

  • “Tabs”: two flat tongues on the long sides of the cap. Slide them between the rocker and the frame, or under the edge of the cover plate. That only works where there is a gap; on many switch ranges the rocker sits flush in the frame. “Tab length” (3–20 mm) sets how far they stick out, “Tab and flange thickness” (0.6–4 mm) their thickness. Gaps under a frame often need only 0.8–1.2 mm.
  • “Tape flange”: a rim all around, 3–15 mm wide, that you stick to the cover plate with double-sided tape. It is the safe choice for large 55 mm frames and every switch without a gap, as on the cover for 55 mm switches “SMART”. Use removable mounting tape and nothing stays on the wall when you take it off.
  • “None”: just the cap. Stick it to the frame with small adhesive pads.

Tabs and flange are never taller than the cavity. If you set them thicker, the generator trims them and tells you.

Design, text and window

The “Design” section decides what goes on top:

  • “Symbol”: bulb, house, plug, Wi-Fi, star or heart, all drawn for this site. “Your own logo (SVG)” uploads your own graphic; it stays in your browser and is not part of the shared link.
  • “Text”: up to 12 characters on one line, in one of the built-in fonts or your own.
  • “None”: a plain cap.

“Design size” is the longer side of a symbol or the height of the capital letters of a text; 0 means automatic, and the design then fills about 75 % of the top. “Design depth” (0.4–1.6 mm, default 1.1 mm) is the depth of an engraving or inlay, or the height of a raised design. “Rotation” turns the design by 90° for switches mounted on their side, as on the cover with sideways text. If a design has lines thinner than 0.8 mm, the generator warns you; make it larger or shorter.

The “Press-on window” in the “Cap” section opens one half of the cap. Under “Open half”, pick “Top” or “Bottom”, depending on which side turns your switch on. You press the open half with a finger while the other half stays covered: on works, off doesn’t. See the cover that allows on but not off. A design moves to the closed half automatically. If the opening gets narrower than 8 mm, you get a note.

Colors and multi-material printing

The cap and the design are two color slots. The style decides what you get:

  • “Engraved”: one color. The design is a recess in the top and the design color is not used; see the one-color cover with an engraved plug.
  • “Inlaid”: the design fills its recess flush in the second color. The top stays smooth.
  • “Raised”: the design stands on the top.

For two colors, download “Multi-color 3MF (PrusaSlicer)” for an MMU3, XL or Core One, or “3MF (Bambu Studio / OrcaSlicer)” for an AMS; cap and design arrive as two parts with their own extruders. “STL per color (ZIP)” gives you both parts as separate files for other slicers.

With a single extruder, choose “Raised” and add a filament change (M600) in the slicer at the height of the top surface. Everything above it, which is only the design, prints in the second color. That does not work for “Inlaid”, because design and top share the same layers. If you download an inlaid design in one color, it becomes an engraving automatically.

Printing tips

The cap lies on the bed with its open side down. Tabs and flange sit flat on the bed, and the sloped walls build inward on their own. The ceiling over the cavity prints as a bridge. On wide caps the first bridge layer looks a little rough inside; you won’t see any of it from the outside.

A few numbers from PrusaSlicer, Prusa MINI, 0.20 mm SPEED profile, 15 % infill, Prusament PLA:

ExampleFilamentPrint time
Switch cover with a bulb icon3.3 g11 min
Plain switch cap for tape mounting4.3 g13 min
Cover for 55 mm switches “SMART”11.3 g29 min

The slicer generates no supports for any of them, even with supports switched on in the profile. More tips:

  • Material: PLA is enough; a switch doesn’t get warm. PETG is tougher if you slide the tabs under the frame often.
  • Layer height: 0.2 mm works. 0.15 mm makes small lettering cleaner.
  • Test fit: print one cap without a design first. If it is too tight, add 0.5–1 mm to length and width.

Safety

The cover sits on the outside of the switch. You don’t open anything, unscrew anything or put anything into the wall box. It only stops people from pressing the switch out of habit; it is not a lockout against switching back on and no protection for electrical work. Before anyone works on a circuit, the breaker in the panel must be turned off.

Origin and licenses

The idea comes from openscad_switch_cover by robconnolly, licensed under CC BY-SA 4.0: a sloped cap with tabs and a logo in the top. This generator is a separate implementation; it takes only the idea and plain measurements such as the narrow rocker, the wall thickness, the tabs and the 1.1 mm engraving depth. Neither the original’s code nor its logo is included. The symbols are our own drawings, and the fonts are under free licenses. You’ll find all details on the licenses page.

Open the switch cover generator and measure your switch. If you also need a label for the door or the fuse box, try the sign generator.

All parameters

The numeric settings of the generator with their default values and allowed ranges. Text, fonts, patterns and colors are set directly in the generator.

ParameterDefaultRangeMeaning
Switch
Inside length (vertical)27 mm10 – 90 mmFree space inside the cap from top to bottom as it sits on the wall. Measure the rocker and add about 1 mm of air on each side.
Inside width (horizontal)27 mm10 – 140 mmFree space from left to right. For a double switch, measure both rockers together.
Inside height5 mm2 – 30 mmHow far the pressed rocker sticks out of the frame, plus a little air.
Cap
Wall thickness1.2 mm0.8 – 3 mmThickness of the side walls. 1.2 mm is three lines with a 0.4 mm nozzle.
Top thickness2 mm1 – 5 mmThickness of the top above the rocker. Engravings and inlays always leave at least 0.6 mm.
Slope2 mm0 – 6 mmHow far the sides lean inward up to the top. Also the corner radius at the bottom; 0 = straight walls.
Mounting
Tab length10 mm3 – 20 mmHow far the two tabs on the long sides stick out.
Tab and flange thickness2 mm0.6 – 4 mmThickness of the tabs or the flange. Tabs under a frame often need only 0.8–1.2 mm.
Flange width6 mm3 – 15 mmWidth of the rim all around that takes the tape.
Design
Design size0 mm0 – 60 mmSymbol: longer side, text: height of the capital letters. 0 = automatic (75 % of the top).
Design depth1.1 mm0.4 – 1.6 mmDepth of the engraving or inlay, or height of a raised design.

Frequently asked questions

Do I have to unscrew the switch?

No. Slide the tabs under the edge of the cover plate, or stick the flange on with double-sided tape. Nothing on the switch itself changes.

How do I measure my switch?

Measure the length and width of the rocker with calipers and how far it sticks out when pressed. Allow about 1 mm of air on each side and enter the values under “Switch”.

Can the switch still be turned on?

Yes, with the “Press-on window”: one half of the cap is open, the other covers the rocker. You can switch the light on, but nobody switches it off by accident.

Is this a lockout for electrical work?

No. The cap only stops people from flipping the switch out of habit. Always turn off the breaker before working on a circuit.

Which material should I use?

PLA is plenty; a light switch does not get warm. PETG is a little tougher if you slide the tabs under the frame often. For a symbol in a second color you need a multi-material setup or a filament change.

Does the cap need supports?

No. Print it open side down; the printer bridges the ceiling over the cavity, and the inside walls lean by about 39° at most. PrusaSlicer does not generate a single support for it.

Origin & license