Compare commits
No commits in common. "afe8b662619008f3a2257cfdaeffea3fff2d9d7a" and "bf1e62ec0e0b91f5fc72d18a59e8e33ad1f1b7b6" have entirely different histories.
afe8b66261
...
bf1e62ec0e
|
@ -1,3 +1,5 @@
|
||||||
|
use <threadlib/threadlib.scad>
|
||||||
|
|
||||||
// Make circles lovely and round
|
// Make circles lovely and round
|
||||||
$fa = 1; $fs = 0.5;
|
$fa = 1; $fs = 0.5;
|
||||||
|
|
||||||
|
@ -14,13 +16,6 @@ module stacker() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
module trs_support() {
|
|
||||||
intersection() {
|
|
||||||
cube([12, 25, 12], center=true);
|
|
||||||
rotate(-45, [0, 1, 0]) cube([12, 25, 12], center=true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
difference() {
|
difference() {
|
||||||
union() {
|
union() {
|
||||||
import("seeed_xaio_case.stl", convexity=3);
|
import("seeed_xaio_case.stl", convexity=3);
|
||||||
|
@ -34,36 +29,15 @@ difference() {
|
||||||
translate([0, 0, 15.0]) stacker();
|
translate([0, 0, 15.0]) stacker();
|
||||||
translate([0, 0, 17.5]) stacker();
|
translate([0, 0, 17.5]) stacker();
|
||||||
translate([0, 0, 20.0]) stacker();
|
translate([0, 0, 20.0]) stacker();
|
||||||
|
|
||||||
// Add some support for inserting the TRS plug
|
|
||||||
intersection() {
|
|
||||||
union() {
|
|
||||||
translate([13, 10, 16]) rotate(60, [0, 0, 1]) trs_support();
|
|
||||||
translate([13, -10, 16]) rotate(-60, [0, 0, 1]) trs_support();
|
|
||||||
}
|
|
||||||
cube([22.5, 18, 60], center=true);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Carve out above USB C port
|
|
||||||
translate([10, -4.79, 4.79]) cube([5, 9.58, 3]);
|
translate([10, -4.79, 4.79]) cube([5, 9.58, 3]);
|
||||||
|
translate([10, 0, 9]) cube([10, 18.36, 6], center=true);
|
||||||
|
|
||||||
// Carve out space to slide the XIAO in
|
|
||||||
intersection() {
|
translate([0, 0, 9.5]) rotate(90, [1, 0, 0]) cylinder(h=30, d=0.8, center=true);
|
||||||
translate([10, 0, 10]) cube([10, 18.36, 8], center=true);
|
translate([0, -9, 12]) rotate(90, [1, 0, 0]) tap("M4", turns=3);
|
||||||
translate([10, 0, 6]) rotate(45, [1, 0, 0]) cube(15, center=true);
|
translate([0, 11, 12]) rotate(90, [1, 0, 0]) tap("M4", turns=3);
|
||||||
}
|
|
||||||
|
translate([11, 0, 18]) rotate(90, [0, 1, 0]) tap("M6", turns=3); //cylinder(h=50, r=4);
|
||||||
// Hookup wire
|
|
||||||
translate([0, 0, 9.5]) cube([1, 30, 0.8], center=true);
|
|
||||||
|
|
||||||
// 8-32x 1/4 screws
|
|
||||||
translate([0, 0, 12]) rotate(90, [1, 0, 0]) cylinder(h=30, d=4.0, center=true);
|
|
||||||
|
|
||||||
// 3.5mm TRS jack
|
|
||||||
translate([10, 0, 18]) rotate(90, [0, 1, 0]) cylinder(h=3, d=6.0);
|
|
||||||
|
|
||||||
// Piezo buzzer
|
|
||||||
translate([-12, 3.5, 15]) cube([5, 1, 1], center=true);
|
|
||||||
translate([-12, -3.5, 15]) cube([5, 1, 1], center=true);
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue