Custom Phone Case: Measure, Design and 3D Print It
A phone case that fits exactly
Most printable phone cases are made for one model. When your phone is not on the list, you are stuck with a file that is a millimeter off in every direction. This custom phone case generator works the other way round: you measure your phone with calipers, type in the width, height, thickness and corner radius, and it builds a 3D printed phone case or bumper around those numbers, with cutouts exactly where your camera, buttons and ports are.
The result is a shell with a back, a wall around the phone and a lip that reaches over the edge of the screen. It prints back down, so the screen side points up and you do not need supports. Browse the example gallery for typical cases, such as the two-color case for 6.1-inch phones, the bumper frame with an open back or a case with a dot grip on the back.
How the generator works
The phone case generator runs entirely in your browser. Nothing is uploaded and you do not need an account. You choose a size class or type your own measures, and the preview follows every change. When the case looks right, download an STL or a 3MF. Your settings are stored in the link you get from “Share”, so you can save the design or send it to a friend with the same phone.
The design is our own. The idea of a case from measured dimensions with cutouts comes from the Cuttlephone project; see the credits at the end of this page for what that means exactly.
Measuring your phone
Take the measures on the bare phone, without any old case:
- Phone width (50–110 mm): across the screen at the widest point.
- Phone height (90–168 mm): from the top edge to the bottom edge.
- Phone thickness (5–14 mm): at the rim, not at the camera bump. The bump sticks out of the back through the camera hole.
- Corner radius (0–16 mm): the rounding of the corners seen from the front. A radius gauge or a set of coins helps; if the corner is not circular, take the smaller value.
- Clearance (0–1 mm, default 0.3 mm): extra room on all sides. 0.3 mm is snug for flexible filament. For stiff PLA or PETG use about 0.5 mm.
The size class menu loads typical values to start from: compact (about 5.4 inch, 64 × 131 × 7.8 mm), small (5.5 inch, 70 × 144 × 8.1 mm), standard (6.1 inch, 72 × 150 × 8 mm), large (6.7 inch, 77 × 160 × 8.3 mm) and extra large (6.9 inch, 82 × 168 × 8.8 mm). These are generic classes, not models of one maker. Real phones with the same screen size differ by several millimeters, and the buttons and the camera sit in different places, so measure your own phone and treat the presets only as a starting point.
The case: wall, back and lip
Under “Case” you set how the shell is built:
- Wall thickness (1.2–4 mm, default 1.6 mm) is the side wall. With a 0.4 mm nozzle three perimeters are about 1.4 mm, which suits TPU.
- Back thickness (0.8–4 mm, default 1.2 mm) is the floor. Engraving needs at least 1.2 mm, because 0.8 mm must stay solid under the pits.
- Front lip (0–4 mm, default 1.4 mm) is how far the lip reaches over the screen. Its underside slopes at 45°. Because of that slope the phone can move up by the lip height before the lip holds it, so a narrow lip fits tighter. A lip of 0 leaves just a 1 mm rim.
- Lip chooses “All around” or “Corners”. With corner lips (24 mm long by default) the phone is easier to take out, and stiff plastic can work.
- Back chooses “Closed” or “Frame”. A frame leaves a large opening (rim width 3–15 mm) and turns the case into a bumper. It uses about half the filament and leaves the back free for wireless charging.
The generator shows the outer size and the opening for the phone below these fields.
Cutouts for buttons, ports and camera
All side positions are read looking at the screen, measured from the top edge of the phone down to the start of the window.
- Side buttons. “Left buttons from top” and “Left window length” place the window for the volume buttons, the right pair the power button. A length of 0 means no window. “Button window height” (2–10 mm) is centered on the middle of the phone’s thickness.
- Bottom edge can be “Closed”, a “Window” or “Open”. A window has a position (from the center, positive to the right) and a width: about 10 mm for the charging port alone, about 40 mm with speaker and microphone. “Open” removes the whole edge between the corners.
- Top edge works the same way, for a microphone or a headphone jack.
- Camera hole is a rectangle or a round hole through the back. The position is measured looking at the back of the phone: distance from the left edge and from the top, plus width, height and corner radius. Add a millimeter around the bump for the lens ring.
If a window would run past the straight part of an edge, the generator moves it back and shows a note. A camera hole that touches the wall is cut off 1 mm before it.
Why long windows are open at the top
Printing back down means a window in the side wall has a ceiling. A ceiling that is 30 mm long is a flat bridge, and slicers want supports for it. The generator avoids that. A short window closes with a sloped roof (0.15 mm per layer, about 37° from vertical) and ends in a ridge of 0.3 mm. For a long window the roof would have to be taller than the case, so the window stays open up to the rim. The case loses a bit of rim there, but the phone stays held by the rest of the lip, and nothing needs supports.
Grip texture and text on the back
Under “Back” you can engrave a grip texture: “Dimples” (hexagonal), “Diamonds” (crossed grooves) or “Ribs”. “Texture spacing” sets the distance (4–10 mm). “Engraving depth” (0.4–1 mm, default 0.6 mm) is how deep the pits go. The pits are cut from the print bed side and narrow upwards, so their ceiling slopes at 37° and needs no supports. The deeper the pit, the wider it is at the bed: about 1.1 mm at 0.6 mm depth and 1.4 mm at 0.8 mm. Give the back at least 0.8 mm more than the depth.
You can also add text (up to 24 characters) with the fonts of the site or your own font file. It is engraved mirrored, so it reads correctly when you look at the back of the case. “Text size” is the height of the capital letters and “Text position” moves it up or down. The texture keeps a distance of about 2 mm from the camera hole and from the text.
Colors
Choose a “Lip and rim” color and the case is split at the height of the screen, back plus phone thickness plus clearance (9.5 mm by default). That gives two parts, case and lip, which touch without overlapping. The multi-color 3MF works in PrusaSlicer (MMU3, XL, Core One) and the 3MF for Bambu Studio and OrcaSlicer assigns the parts to AMS slots. “STL per color (ZIP)” is the fallback for any slicer. On a printer with one extruder, pause at that height with a color change (M600): the lip is the top band of the case, so the change recolors exactly the right layers.
Printing tips
- Orientation: exactly as exported, back down. Nothing needs to be rotated or supported.
- Material: TPU of about 95A Shore hardness gives the best case. Print it slowly (20–30 mm/s), with direct drive if you can, and with three walls. For PLA or PETG choose the frame, the corner lips or the slide-in case with open ends, increase the clearance to 0.5 mm and keep the lip to 0.8 mm or less.
- Layer height: 0.2 mm. The slopes are made for that layer height, because each 0.2 mm layer moves by 0.2 mm at the lip and 0.15 mm at windows and pits.
- Test the fit first: print the bumper frame (12 g, 26 minutes) before the full case. It shows whether width, height and corner radius are right.
- Numbers from a real slice (PrusaSlicer, Prusa MINI, “0.20mm SPEED”, PLA): the two-color case for 6.1-inch phones needs 24 g and about 46 minutes. The compact case needs about 20 g and 39 minutes, the extra large one about 30 g and 55 minutes, the rugged one with 3 mm walls about 40 g and 1 hour 19 minutes. The bumper frame is the lightest at 12 g.
Credits and licenses
The generator is an original design, written for this site. The idea of a phone case from measured dimensions with cutouts for buttons, camera and ports was inspired by Cuttlephone by SiloCityLabs, which is released under CC BY-SA 4.0. We did not read or translate any of its code, nor take dimensions from it. It is listed here because the idea comes from there, and on the licenses page. Fonts are listed there as well.
Phone brands and models are not named in the generator, only generic size classes, because those names are trademarks. If you need a stand for the finished phone, see the phone and tablet stand; for a holder for a power brick or router, the device mount does the job. When you are ready, open the generator or look through the examples.
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.
| Parameter | Default | Range | Meaning |
|---|---|---|---|
| Phone | |||
| Phone width | 72 mm | 50 – 110 mm | Width of the phone across the screen, without the case. Measure at the widest point with calipers. |
| Phone height | 150 mm | 90 – 168 mm | Length of the phone from the top edge to the bottom edge. |
| Phone thickness | 8 mm | 5 – 14 mm | Thickness of the phone without the camera bump. Measure at the edge. |
| Corner radius | 10 mm | 0 – 16 mm | Rounding of the phone’s corners as seen from the front. Hold a coin or radius gauge against it. |
| Clearance | 0.3 mm | 0 – 1 mm | Extra room around the phone on all sides. 0.3 mm fits snugly; use 0.5 mm for stiff PLA or PETG. |
| Case | |||
| Wall thickness | 1.6 mm | 1.2 – 4 mm | Thickness of the case at the sides. Three perimeters of a 0.45 mm line are about 1.4 mm. |
| Back thickness | 1.2 mm | 0.8 – 4 mm | Thickness of the back. Engraved texture and text need at least 1.2 mm. |
| Front lip | 1.4 mm | 0 – 4 mm | How far the lip reaches over the screen. It slopes at 45° so it prints without supports. 0 = no lip. |
| Corner lip length | 24 mm | 8 – 40 mm | Length of the lip along each edge at the four corners. |
| Frame width | 6 mm | 3 – 15 mm | Width of the rim at the back that the phone rests on. |
| Side buttons | |||
| Button window height | 6 mm | 2 – 10 mm | Height of the windows for the side buttons, centered on the middle of the phone’s thickness. |
| Left buttons from top | 32 mm | 0 – 160 mm | Distance from the top edge of the phone to the start of the left window, looking at the screen (usually the volume buttons). |
| Left window length | 30 mm | 0 – 80 mm | Length of the window on the left side. 0 = no window. Long windows are open to the top rim. |
| Right buttons from top | 44 mm | 0 – 160 mm | Distance from the top edge of the phone to the start of the right window, looking at the screen (usually the power button). |
| Right window length | 15 mm | 0 – 80 mm | Length of the window on the right side. 0 = no window. |
| Ports and microphone | |||
| Bottom window position | 0 mm | -50 – 50 mm | Offset of the window from the center of the bottom edge. Positive = to the right, looking at the screen. |
| Bottom window width | 44 mm | 4 – 100 mm | Width of the window: the port alone is about 10 mm, port plus speaker about 40 mm. |
| Top window position | 0 mm | -50 – 50 mm | Offset of the window from the center of the top edge. Positive = to the right, looking at the screen. |
| Top window width | 12 mm | 4 – 100 mm | Width of the window on the top edge. |
| Port window height | 5 mm | 2 – 10 mm | Height of the windows on the top and bottom edge, centered on the middle of the phone’s thickness. |
| Camera | |||
| Camera from left | 6 mm | 0 – 100 mm | Distance from the left edge of the phone to the camera block, looking at the BACK. |
| Camera from top | 6 mm | 0 – 160 mm | Distance from the top edge of the phone to the camera block, looking at the back. |
| Camera width | 30 mm | 4 – 80 mm | Width of the hole. Add a millimeter around the camera bump for the lens ring and the flash. |
| Camera height | 30 mm | 4 – 80 mm | Height of the hole. |
| Camera corner radius | 8 mm | 0 – 40 mm | Rounding of the corners of the rectangular hole. |
| Back | |||
| Texture spacing | 5 mm | 4 – 10 mm | Distance between neighboring dimples or grooves. |
| Engraving depth | 0.6 mm | 0.4 – 1 mm | How deep texture and text go into the back. At least 0.8 mm of back stays solid. |
| Text size | 10 mm | 5 – 40 mm | Height of the capital letters. |
| Text position | -35 mm | -80 – 80 mm | Vertical offset of the text from the center of the back. Negative = towards the bottom. |
Frequently asked questions
How do I measure my phone?
Use calipers on the bare phone. Take the width across the screen at the widest point, the height from edge to edge and the thickness at the rim, not at the camera bump. Enter them as they are and leave the clearance at 0.3 mm; the generator adds it on all sides.
Does the case need supports?
No. It prints back down. The lip that holds the phone is a 45° chamfer, grip texture and engraving taper inwards, and short windows close with a 37° roof. Long windows stay open up to the rim instead of bridging. In PrusaSlicer with automatic supports switched on, the default case and the dimple grip produced none; diamonds and engraved text added a few tenths of a gram in the first layers, so leave supports off.
Which material should I use?
Flexible TPU (around 95A) with three walls is the best choice, because the lip can stretch over the phone and spring back. PLA and PETG work for frames, corner lips and slide-in cases with open ends, but a stiff full lip will not let the phone in.
Why do my button windows run up to the top edge?
A flat roof over a 30 mm long window is a bridge, and printers need supports under it. Rather than adding supports, the generator leaves such windows open to the rim. Only short windows get a closed sloped roof: about 6 mm long at a window height of 5 mm, about 13 mm at the maximum height of 10 mm.
Can I print the lip in a second color?
Yes. Pick a lip color and the case splits at the height of the screen into two parts, for PrusaSlicer, Bambu Studio or OrcaSlicer. On a single-extruder printer you can insert a color change (M600) at that height.
Is anything uploaded?
No. The generator runs in your browser, and your measures live only in the share link.
Origin & license
- Cuttlephone by SiloCityLabs · CC BY-SA 4.0 · idea – The idea of a phone case from measured dimensions with cutouts (re-implementation, no code or measures taken)