carrier boards
The snippet can be accessed without any authentication.
Authored by
Johannes Schauer Marin Rodrigues
Edited
snippetfile1.txt 6.30 KiB
delta=0.01;
// ports-r1-v2-b.svg
translate([100,0,0]) union() {
width = 21;
height = 126.38072;
offset_x = -99.869048;
offset_y = -41.887019;
thickness = 1.4;
translate([offset_x+100.91904-1.7, -167.21774-offset_y+height+124.28072, 0]) rotate([90,0,0]) linear_extrude(124.28072) polygon([[0,4],[0,0],[4,4]]);
translate([offset_x+100.91904, -167.21774-offset_y+height, 0]) cube([3,124.28072,thickness+4.9]);
translate([offset_x+100.91904-3.7, -167.21774-offset_y+height, 0]) cube([2,124.28072,thickness+4.9]);
translate([offset_x+100.91904-1.8, -167.21774-offset_y+height, thickness]) cube([2,124.28072,4.9]);
translate([offset_x+100.91904, -167.21774-offset_y+height+6, 0]) cube([18.9,3,thickness+4.9]);
translate([offset_x+100.91904, 124.28072-167.21774-offset_y+height-6-3, 0]) cube([18.9,3,thickness+4.9]);
// block the brim/skirt from entering the narroy rim
translate([offset_x+100.91904-1.8, -167.21774-offset_y+height, 0]) cube([2,0.5,0.1]);
translate([offset_x+100.91904-1.8, -167.21774-offset_y+height+124.28072-0.5, 0]) cube([2,0.5,0.1]);
translate([0,height,thickness]) rotate([180,0,0]) union() {
difference() {
translate([offset_x+100.91904, -167.21774-offset_y+height, 0]) cube([18.9, 124.28072, thickness]);
translate([0,0,-delta]) union() {
translate([offset_x+110.90501, offset_y+45.089325, 0]) cylinder(h = thickness+2*delta, r = 1.25, $fn=32);
translate([offset_x+110.89967, offset_y+165.06593, 0]) cylinder(h = thickness+2*delta, r = 1.25, $fn=32);
translate([offset_x+105.85643, offset_y+74.058289, 0]) cube([6.3221521, 13.791909, thickness+2*delta]);
translate([offset_x+105.86031, offset_y+96.567177, 0]) cube([6.3221521, 13.791909, thickness+2*delta]);
translate([offset_x+105.85442, offset_y+119.05888, 0]) cube([6.3221521, 13.791909, thickness+2*delta]);
linear_extrude(thickness+2*delta) polygon([
[offset_x+107.04893-0.20187,offset_y+137.38674],
[offset_x+107.04893+3.79702,offset_y+137.38674],
[offset_x+107.04893+3.79702+2.17292,offset_y+137.38674+2.80045],
[offset_x+107.04893+3.79702+2.17292,offset_y+137.38674+2.80045+10.16579],
[offset_x+107.04893+3.79702+2.17292-2.16558,offset_y+137.38674+2.80045+10.16579+2.66315],
[offset_x+107.04893+3.79702+2.17292-2.16558-3.80436-0.20187,offset_y+137.38674+2.80045+10.16579+2.66315],
]);
}
}
}
}
// ports-r1-v2-a.svg
translate([70,0,0]) union() {
width = 21;
height = 126.38072;
offset_x = -59.803572;
offset_y = -62.917154;
thickness = 1.4;
difference() {
translate([offset_x+60.853573, -188.24788-offset_y+height, 0]) cube([18.9, 124.28072, thickness]);
translate([0,0,-delta]) union() {
translate([offset_x+70.872246, offset_y+186.09557, 0]) cylinder(h = thickness+2*delta, r = 1.25, $fn=32);
translate([offset_x+70.86692, offset_y+66.118958, 0]) cylinder(h = thickness+2*delta, r = 1.25, $fn=32);
translate([offset_x+70.295212, offset_y+118.59078, 0]) cylinder(h = thickness+2*delta, r = 3.104636, $fn=32);
translate([offset_x+62.428066, offset_y+77.461647, 0]) cube([10.31102, 8.6100197, thickness+2*delta]);
translate([offset_x+61.850857, offset_y+89.364441, 0]) cube([10.90544, 18.00544, thickness+2*delta]);
translate([offset_x+69.942139, offset_y+128.56187, 0]) cube([3.3105607, 27.910561, thickness+2*delta]);
translate([offset_x+62.428066, offset_y+134-19.4-3+19.4/2-4, 0]) cube([3.5, 9, thickness+2*delta]);
}
}
//translate([offset_x+63, offset_y+134, 0]) cube([4, 26, 4]);
//translate([offset_x+63, offset_y+134-19.4-3, 0]) cube([4, 19.4, 4]);
translate([offset_x+62, offset_y+163.5, 0]) cube([9, 4, 4]);
}
// trackball
translate([100,0,0]) union() {
linear_extrude(2.5) polygon([
[0,0], [24.9,0],
[24.9,-5], [20,-5],
[20,-12.7], [24.9,-12.7],
[24.9,-31.3], [20,-31.3],
[20,-37.9], [37.9,-37.9],
[37.9,-70.4], [28.7,-70.4],
[28.7,-56], [0,-56],
[0,-23.2],[4.1,-23.2],[4.1,-11.1],
[0,-11.1]
]);
difference() {
union() {
translate([32.4,-50.9,0]) cube([3,13,16]);
translate([13.2,-35.4,0]) cube([3,18,16]);
}
translate([15.7,-60,12]) cube([17.2,54.75,1.8]);
}
}
// usb hub
difference() {
union() {
cube([41,91,2.5]);
translate([0,10,0]) cube([2.5,37,10]);
translate([38.5,10,0]) cube([2.5,37,10]);
translate([0,46.5,0]) cube([41,2,5]);
translate([9.5,59,0]) cube([2,32,5.5]);
translate([29.5,59,0]) cube([2,32,5.5]);
translate([9.5,59,0]) cube([22,2,4]);
}
translate([4.5,3,-delta]) cube([24,5.5,2.5+2*delta]);
translate([11.5,61,1]) cube([18,30,10]);
translate([11,61,3]) cube([19,30,1.5]);
translate([2,10,3]) cube([37,37,1.1]);
translate([0,13,5.5]) cube([41,31,10]);
}
// antenna
translate([-50,0,0]) union() {
cube([17,17,1]);
translate([15,15,0]) cube([22,22,1]);
translate([15,1,0]) cube([2,30,2]);
translate([1,15,0]) cube([30,2,2]);
}
// umts+serial
translate([0,-80,0]) union() {
cube([3,3,9.2]);
translate([0,29,0]) cube([3,3,8.5]);
translate([80,0,0]) cube([3,3,8.5]);
translate([80,29,0]) cube([3,3,8.5]);
translate([60,53,0]) cube([3,3,8.5]);
translate([80,53,0]) cube([3,3,8.5]);
translate([19.5,53,0]) cube([3,3,8.5]);
translate([74.5,1.25,2]) union() {
cube([3.5, 1.5, 5.5]);
translate([0,0,4.7]) cube([3.5, 2, 0.8]);
}
translate([22.8,1,2]) union() {
cube([3.5, 1.5, 5.5]);
translate([0,0,4.7]) cube([3.5, 2, 0.8]);
}
translate([71,27.75,0]) union() {
cube([3.5, 4.25, 8.5]);
translate([0,-0.5,6.7]) cube([3.5, 4, 0.8]);
}
translate([31,28,0]) union() {
cube([3.5, 4, 8.5]);
translate([0,-0.5,6.7]) cube([3.5, 4, 0.8]);
}
translate([19.5,32,0]) cube([43.5,24,1.5]);
translate([56,32,0]) cube([27,4,1.5]);
translate([56,52,0]) cube([27,4,1.5]);
translate([83-45-1.5,32-1.5,1.5]) cube([1.5, 19.4+3.1, 3.7]);
translate([83-45,32, 0]) cube([45, 1, 3.5]);
translate([83-55,32-1.5, 0]) cube([55, 1.5, 5.2]);
translate([83-44,32-1.5, 5.2]) cube([44, 2, 0.8]);
translate([83-45,32+18.4+0.1, 0]) cube([45, 1, 3.5]);
translate([83-45,32+18.4+0.1+1, 0]) cube([45, 1.5, 5.2]);
translate([83-44,32+18.4+0.1+0.5,5.2]) cube([44, 2, 0.8]);
//translate([83-44.75,32,3.5]) cube([44.75, 19.4, 1.6]);
difference() {
cube([83,32,2.5]);
translate([-delta,(30-14)/2,1.5]) cube([21,14,1+delta]);
translate([30,(30-22)/2,1.5]) cube([51,22,1+delta]);
translate([63,(30-22)/2,0.5]) cube([18,22,2+delta]);
}
}
Please register or sign in to comment