Update STL and cleanup scad files for the boitier

This commit is contained in:
Thomas Schwery 2018-07-16 21:12:08 +02:00
parent bbc64373cf
commit 78dd1326ab
5 changed files with 26509 additions and 28 deletions

View file

@ -1,26 +0,0 @@
translate([77.8, 239.8, 0]) {
import("/home/valdor/Downloads/Crossfire_2/C2APMmount.stl");
}
$fn= 30;
difference() {
union() {
translate([-24, -19, 0]) cube(size=[48,38,3.175]);
translate([ 15, 15, 3]) cylinder(d = 5, center = true, h = 6);
translate([-15, 15, 3]) cylinder(d = 5, center = true, h = 6);
translate([ 15, -15, 3]) cylinder(d = 5, center = true, h = 6);
translate([-15, -15, 3]) cylinder(d = 5, center = true, h = 6);
}
translate([-24, -12, 0]) cube(size=[48.1,24,3.2]);
translate([ 15, 15, 5]) cylinder(d = 3.2, center = true, h = 10);
translate([-15, 15, 5]) cylinder(d = 3.2, center = true, h = 10);
translate([ 15, -15, 5]) cylinder(d = 3.2, center = true, h = 10);
translate([-15, -15, 5]) cylinder(d = 3.2, center = true, h = 10);
}

View file

@ -27,7 +27,7 @@ u_pl_d = 3; // small platic stuff on the usb socket
nbHolesW = 2;
nbHolesL = 6;
part="right"; // all / left / right
part="foot"; // all / left / right
$fn=30;
@ -117,13 +117,26 @@ module keyboard() {
hole_sub( h_po, w - h_po, h_de, h_di, h_po);
hole_sub( l/2 , w - h_po, h_de, h_di, h_po);
hole_sub( l - h_po, w - h_po, h_de, h_di, h_po);
}
}
module foot() {
difference() {
cube(size = [40, 10, h+0.1]);
hole_sub(20, 5, h_de, h_di, h_po);
}
}
if (part == "all") {
keyboard();
translate([1/2 * l - 20, w - 10, -h]) foot();
}
if (part == "foot") {
foot();
}
if (part == "right" || part == "both") difference() {
keyboard();
translate([0, 0, 0]) cube(size = [l/2 - h_po, w, h+flo]);

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff