41 lines
786 B
OpenSCAD
41 lines
786 B
OpenSCAD
// all measurements in mm
|
|
//
|
|
// x = width
|
|
// y = length = the longest axis of the phone
|
|
// z = height = the shortest axis of the phone
|
|
//
|
|
// (0, 0, 0) = top-left of the front of the phone.
|
|
// i.e. the screen is defined to be at z=0.
|
|
|
|
// phone body
|
|
BodyLength=160.5;
|
|
BodyWidth=76.6;
|
|
BodyHeight=9.2;
|
|
BodyRadXY=9.6;
|
|
BodyRadFrontZ=1.8;
|
|
|
|
// offset from top of phone to top of volume button
|
|
VolumeMinY=26.0;
|
|
VolumeMinZ=3.5;
|
|
VolumeLength=19.8;
|
|
VolumeHeight=2.0;
|
|
|
|
// offset from top of phone to the top of power button
|
|
PowerMinY=53.0;
|
|
PowerMinZ=3.5;
|
|
PowerLength=10.0;
|
|
PowerHeight=2.0;
|
|
|
|
// offset from left edge of phone to left edge of 3.5mm audio jack
|
|
AuxMinX=23.0;
|
|
AuxMinZ=3.8;
|
|
|
|
UsbWidth=9.0;
|
|
UsbHeight=3.5;
|
|
UsbMinZ=5.1;
|
|
|
|
CameraMinY=4.0;
|
|
CameraMinX=41.6;
|
|
CameraWidth=22.0;
|
|
CameraLength=10.0;
|