20 lines
536 B
OpenSCAD
20 lines
536 B
OpenSCAD
|
// Fairphone 4 back cover
|
||
|
// length units are millimeters
|
||
|
rimWidth = 2.375;
|
||
|
coverWidth = 74;
|
||
|
coverHeight = 160;
|
||
|
coverThickness = 2.71;
|
||
|
plasticThickness = 0.87;
|
||
|
|
||
|
union() {
|
||
|
difference() {
|
||
|
cube([coverWidth, coverHeight, coverThickness]);
|
||
|
translate ([rimWidth, rimWidth, -0.01]) {
|
||
|
cube([coverWidth - (2*rimWidth), coverHeight - (2*rimWidth), plasticThickness]);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
translate([33.59 + rimWidth, 4.39 + rimWidth, coverThickness - plasticThickness]) {
|
||
|
cube([32, 32, 3.58]);
|
||
|
}
|
||
|
}
|