Initial commit
This commit is contained in:
65
case/back_panel.scad
Normal file
65
case/back_panel.scad
Normal file
@@ -0,0 +1,65 @@
|
||||
$fn=64;
|
||||
eps = 0.04;
|
||||
inch = 25.4;
|
||||
|
||||
panel_x = 68.76;
|
||||
panel_y = 19.84;
|
||||
panel_z = 1.5;
|
||||
panel_r = 0.05 * inch;
|
||||
|
||||
barrel_x = 0.354*inch;
|
||||
barrel_y = 0.428*inch;
|
||||
|
||||
module dsub(c,e,a)
|
||||
{
|
||||
r=3.35;
|
||||
h=3.96;
|
||||
md=3.05;
|
||||
hull() {
|
||||
translate([-c/2,h/2,0])
|
||||
circle(r=r);
|
||||
translate([c/2,h/2,0])
|
||||
circle(r=r);
|
||||
translate([-e/2,-h/2,0])
|
||||
circle(r=r);
|
||||
translate([e/2,-h/2,0])
|
||||
circle(r=r);
|
||||
}
|
||||
translate([-a/2,0,0])
|
||||
circle(d=md);
|
||||
translate([a/2,0,0])
|
||||
circle(d=md);
|
||||
}
|
||||
|
||||
module dsub9() {
|
||||
dsub(c=13.77,e=12.01,a=24.99);
|
||||
}
|
||||
|
||||
difference() {
|
||||
linear_extrude(height=panel_z) {
|
||||
hull() {
|
||||
translate([panel_r, panel_r, 0]) {
|
||||
circle(r=panel_r);
|
||||
}
|
||||
translate([panel_x-panel_r, panel_r, 0]) {
|
||||
circle(r=panel_r);
|
||||
}
|
||||
translate([panel_x-panel_r, panel_y-panel_r, 0]) {
|
||||
circle(r=panel_r);
|
||||
}
|
||||
translate([panel_r, panel_y-panel_r, 0]) {
|
||||
circle(r=panel_r);
|
||||
}
|
||||
}
|
||||
}
|
||||
translate([panel_x/2 - 12.015, panel_y/2, -eps] ) {
|
||||
linear_extrude(height=panel_z+2*eps) {
|
||||
dsub9();
|
||||
}
|
||||
}
|
||||
translate([panel_x/2+13.33,6.17+barrel_y/2,-eps]) {
|
||||
linear_extrude(height=panel_z+2*eps) {
|
||||
square([barrel_x, barrel_y],center=true);
|
||||
}
|
||||
}
|
||||
}
|
||||
7590
case/back_panel.stl
Normal file
7590
case/back_panel.stl
Normal file
File diff suppressed because it is too large
Load Diff
58
case/front_panel.scad
Normal file
58
case/front_panel.scad
Normal file
@@ -0,0 +1,58 @@
|
||||
$fn=64;
|
||||
eps = 0.04;
|
||||
inch = 25.4;
|
||||
|
||||
panel_x = 68.76;
|
||||
panel_y = 19.84;
|
||||
panel_z = 1.5;
|
||||
panel_r = 0.05 * inch;
|
||||
|
||||
lens_x = 2.363 * inch;
|
||||
lens_y = 0.592 * inch;
|
||||
lens_z = 0.062 * inch;
|
||||
|
||||
bezel_x = 2.258 * inch;
|
||||
bezel_y = 0.487 * inch;
|
||||
bezel_r = 1/16 * inch;
|
||||
|
||||
difference() {
|
||||
linear_extrude(height=panel_z) {
|
||||
hull() {
|
||||
translate([panel_r, panel_r, 0]) {
|
||||
circle(r=panel_r);
|
||||
}
|
||||
translate([panel_x-panel_r, panel_r, 0]) {
|
||||
circle(r=panel_r);
|
||||
}
|
||||
translate([panel_x-panel_r, panel_y-panel_r, 0]) {
|
||||
circle(r=panel_r);
|
||||
}
|
||||
translate([panel_r, panel_y-panel_r, 0]) {
|
||||
circle(r=panel_r);
|
||||
}
|
||||
}
|
||||
}
|
||||
translate([panel_x/2,panel_y-1.27-lens_y/2,0.4]) {
|
||||
linear_extrude(height=panel_z+2*eps) {
|
||||
square([lens_x+2*eps, lens_y+2*eps],center=true);
|
||||
}
|
||||
}
|
||||
translate([panel_x/2,panel_y-1.27-lens_y/2,-eps]) {
|
||||
linear_extrude(height=panel_z+2*eps) {
|
||||
hull() {
|
||||
translate([-bezel_x/2+bezel_r, -bezel_y/2+bezel_r, 0]) {
|
||||
circle(r=bezel_r);
|
||||
}
|
||||
translate([bezel_x/2-bezel_r, -bezel_y/2+bezel_r, 0]) {
|
||||
circle(r=bezel_r);
|
||||
}
|
||||
translate([bezel_x/2-bezel_r, bezel_y/2-bezel_r, 0]) {
|
||||
circle(r=bezel_r);
|
||||
}
|
||||
translate([-bezel_x/2+bezel_r, bezel_y/2-bezel_r, 0]) {
|
||||
circle(r=bezel_r);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
3922
case/front_panel.stl
Normal file
3922
case/front_panel.stl
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user