fat-beepy-case/fat-beepy-case.scad

66 lines
1.4 KiB
OpenSCAD

module original() {
translate([75,0,10]) {
import("./Slim Case Rev7 - Back with SD Slot.stl");
}
}
module topHalf() {
difference() {
original();
cube([80, 105, 1], false);
translate([4, 5, 1]) {
cube([67, 88, 2], false);
}
}
}
module bottomHalf() {
union() {
difference() {
original();
translate([0, 0, 1.2]) {
cube([80, 105, 19], false);
}
}
translate([9, 4, 6]) {
color("#ff0000") {
difference() {
cylinder(h = 11, d = 5, center = true, $fn = 120);
cylinder(h = 12, d = 2, center = true, $fn = 120);
}
}
}
translate([67, 4, 6]) {
color("#ff0000") {
difference() {
cylinder(h = 11, d = 5, center = true, $fn = 120);
cylinder(h = 12, d = 2, center = true, $fn = 120);
}
}
}
}
}
module extension() {
difference() {
linear_extrude(height = 10, center = false) {
projection(cut = false) bottomHalf();
}
translate([5.5, 2, 0]) {
cube([67, 99, 10], false);
}
}
}
union() {
topHalf();
translate([0, 0, -8]) {
extension();
}
translate([0, 0, -8]) {
bottomHalf();
}
}