<p>I'm not aware of a source for STL files or engineering diagrams, but you can do the measurements yourself fairly easily. I did this to make credit-card-slot cases for my Moto G4 and the fit turned out very good.</p>

<p>Start with a digital caliper and measure the maximum length, width, and depth of the phone, ignoring rounded corners. Next, trace the phone on a piece of paper and use a straightedge to extend the flat parts of the sides to a bounding rectangle, and measure how far from the corner the curved part extends in each direction before meeting the flat part. Finally, if the sides of the phone are rounded too, estimate how thick the phone would be if you extended the curved edge to a full semicircle.</p>

<p>At this point, you can approximate the shape of the phone as the convex hull of 4 spheres scaled appropriately in the x, y, and z directions, if the sides are curved, or the convex hull of 4 cylinders scaled in just the x and y directions, if the sides are flat. In the former (spheres) case, the approximation will be thicker than the phone, and you have to slice off the top and bottom to match the arc segment that's actually present on the sides of the phone. There are ways to do this exactly but I found it doesn't need to be precise and you can just eyeball it.</p>

<p>In order to make a usable case, you'll also need to measure the distances of camera lens, buttons you want to expose, etc. from reference points. This is straightforward with a caliper.</p>

<p>Here's my result, following this procedure:</p>

<p><img src="https://i.sstatic.net/TUP2K.jpg" alt="Moto G4 case printed in white flex PLA"></p>

CC BY-SA 4.0
2019-08-28T07:51:34.200Z
For engineering parts designed to fit existing ones, Revere Engineering is always needed... or having someone who gave you the design files.
Trish
CC BY-SA 4.0
2019-08-27T00:35:04.970Z
2019-08-27T00:35:04.970Z
R.. GitHub STOP HELPING ICE
<p>I'm looking for some kind of collection of shapes of smartphones, so I can design a case that will fit certain models perfectly.
STL, or any other kind of 3d file.</p>

<p>Lots of companies produce cases for smartphones, do they have the shapes straight from the manufacturer? Do they reverse engineer every model?</p>

<p>I'm asking here because I couldn't find a stack exchange site that would be a better fit for this kind of question.</p>

CC BY-SA 4.0
2019-08-26T21:58:12.603Z
I've done it by measurement of the phone - it's not hard. I might write up an answer on how to do that if you're interested
R.. GitHub STOP HELPING ICE
CC BY-SA 4.0
2019-08-26T21:59:33.640Z
Having an actual CAD description of the dimensions is a lot more useful than an STL file for producing a printable and functional case, BTW.
R.. GitHub STOP HELPING ICE
<stl>
Where to get smartphone shapes from, to create a case all by myself?
Paweł Lis
# Where to get smartphone shapes from, to create a case all by myself?

(Asked by: username_0 on 2019-08-26)

I'm looking for some kind of collection of shapes of smartphones, so I can design a case that will fit certain models perfectly.
STL, or any other kind of 3d file.

Lots of companies produce cases for smartphones, do they have the shapes straight from the manufacturer? Do they reverse engineer every model?

I'm asking here because I couldn't find a stack exchange site that would be a better fit for this kind of question.

**Tags:** stl

> **Comments:**
> **username_1**: I've done it by measurement of the phone - it's not hard. I might write up an answer on how to do that if you're interested  
> **username_1**: Having an actual CAD description of the dimensions is a lot more useful than an STL file for producing a printable and functional case, BTW.  

---

## 1 answers

### Answer by username_1 on 2019-08-27. Score: 2

I'm not aware of a source for STL files or engineering diagrams, but you can do the measurements yourself fairly easily. I did this to make credit-card-slot cases for my Moto G4 and the fit turned out very good.

Start with a digital caliper and measure the maximum length, width, and depth of the phone, ignoring rounded corners. Next, trace the phone on a piece of paper and use a straightedge to extend the flat parts of the sides to a bounding rectangle, and measure how far from the corner the curved part extends in each direction before meeting the flat part. Finally, if the sides of the phone are rounded too, estimate how thick the phone would be if you extended the curved edge to a full semicircle.

At this point, you can approximate the shape of the phone as the convex hull of 4 spheres scaled appropriately in the x, y, and z directions, if the sides are curved, or the convex hull of 4 cylinders scaled in just the x and y directions, if the sides are flat. In the former (spheres) case, the approximation will be thicker than the phone, and you have to slice off the top and bottom to match the arc segment that's actually present on the sides of the phone. There are ways to do this exactly but I found it doesn't need to be precise and you can just eyeball it.

In order to make a usable case, you'll also need to measure the distances of camera lens, buttons you want to expose, etc. from reference points. This is straightforward with a caliper.

Here's my result, following this procedure:

![Moto G4 case printed in white flex PLA](https://i.sstatic.net/TUP2K.jpg)

> **Comments:**
> **username_2**: For engineering parts designed to fit existing ones, Revere Engineering is always needed... or having someone who gave you the design files.  

---

