28 lines
No EOL
634 B
OpenSCAD
28 lines
No EOL
634 B
OpenSCAD
frame_height=186;
|
|
frame_width=110;
|
|
frame_thickness=2;
|
|
|
|
difference() {
|
|
// frame
|
|
cube([frame_height,frame_width,frame_thickness]);
|
|
|
|
// case cutout
|
|
case_height=159;
|
|
case_width=90.5;
|
|
case_thickness=2;
|
|
translate([(frame_height-case_height)/2,(frame_width-case_width)/2,-0.5]) {
|
|
cube([case_height,case_width,frame_thickness+1]);
|
|
}
|
|
}
|
|
|
|
// walls
|
|
cube([frame_height,1,frame_thickness+2]);
|
|
translate([0,frame_width-1,0]) {
|
|
cube([frame_height,1,frame_thickness+2]);
|
|
}
|
|
cube([1,frame_width,frame_thickness+2]);
|
|
translate([frame_height-1,0,0]) {
|
|
cube([1,frame_width,frame_thickness+2]);
|
|
}
|
|
|
|
$fn=70; |