Add cutout shape for SW270
This commit is contained in:
parent
9cafdf7543
commit
53d21ba181
11
sw270.scad
11
sw270.scad
@ -15,15 +15,16 @@ BD = B - M; // Bushing offset
|
|||||||
|
|
||||||
echo("Internal volume", I*I*I/1000000, "L");
|
echo("Internal volume", I*I*I/1000000, "L");
|
||||||
|
|
||||||
module sam300d_flush_mount() {
|
|
||||||
offset(r=BD) square([255, 188], center=true);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Side panels
|
// Side panels
|
||||||
translate([I+J/2, 0]) {
|
translate([I+J/2, 0]) {
|
||||||
difference() {
|
difference() {
|
||||||
square([I + J, I - BD], center=true);
|
square([I + J, I - BD], center=true);
|
||||||
sam300d_flush_mount();
|
|
||||||
|
// SAM 300D
|
||||||
|
difference() {
|
||||||
|
offset(r=BD/2) square([255+0.3, 188+0.3], center=true);
|
||||||
|
offset(r=BD/2) square([255-20, 188-20], center=true);
|
||||||
|
}
|
||||||
|
|
||||||
// Alignment squares
|
// Alignment squares
|
||||||
translate([O/2,0]) rotate(45) square(A, center=true);
|
translate([O/2,0]) rotate(45) square(A, center=true);
|
||||||
|
Loading…
Reference in New Issue
Block a user