add initial files
This commit is contained in:
parent
0a48016c6f
commit
795db0a058
218094
Slim Case Rev7 - Back with SD Slot.stl
Normal file
218094
Slim Case Rev7 - Back with SD Slot.stl
Normal file
File diff suppressed because it is too large
Load Diff
66
fat-beepy-case.scad
Normal file
66
fat-beepy-case.scad
Normal file
@ -0,0 +1,66 @@
|
||||
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();
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user