Rounded screen cutout

This commit is contained in:
Dejvino 2021-01-11 19:46:36 +01:00
parent 9b15bc71dc
commit 7e5ecf72c2

View File

@ -163,7 +163,7 @@ module phone_harness() {
screws_area_l=0.7*l;
for (i=[0:screws-1]) {
$fn=$preview ? 6 : 16;
#right(-screws_area_l/2 + screws_area_l/(screws-1) * i) cylinder(d2=screwmount_screw*0.5, d1=screwmount_screw, h=ss.y/2);
right(-screws_area_l/2 + screws_area_l/(screws-1) * i) cylinder(d2=screwmount_screw*0.5, d1=screwmount_screw, h=ss.y/2);
}
}
}
@ -184,8 +184,13 @@ module phone_harness() {
}
// -- TOP --
module screen_cutout() {
s=[138, 69, 100];
up(s.z/2) cubi(s, fillet=3, edges=EDGES_Z_ALL);
$fn=$preview ? 4 : 12;
s=[138, 69, 12];
b = 10;
s1=[s.x, s.y];
s2=[s.x+b, s.y+b];
h=s.z;
up(5) rounded_prismoid(size1=s1, size2=s2, h=h, r1=1, r2=15);
}
top_offset=6.5;
module top_speaker_cutout() {