1
0
mirror of https://github.com/whowechina/popn_pico.git synced 2024-11-12 01:30:47 +01:00

Case done (and added the missing USB-C slot)

This commit is contained in:
whowechina 2022-09-10 21:03:43 +08:00
parent 868c530aa2
commit 16ec7d52e3
4 changed files with 30 additions and 34 deletions

Binary file not shown.

View File

@ -1,40 +1,30 @@
wall=2;
clearance=0.25; // clearance
clearance=0.25;
thickness=9;
bottom=2.4;
difference() {
body();
body_cut();
screws();
the_case();
gateron([-54,33,0]);
gateron([-18,33,0]);
gateron([18,33,0]);
gateron([54,33,0]);
gateron([-72,0,0]);
gateron([-36,0,0]);
gateron([-0,0,0]);
gateron([36,0,0]);
gateron([72,0,0]);
pico([-24.5,43.5,0]);
}
module the_case() {
difference() {
body();
body_cut();
screws();
//test_marks();
//test_board();
module test_marks() {
color("red") translate([-8.5,-40,0]) cube([17,10,3]);
color("blue") translate([10,-40,0]) cube([3,3,2.4]);
translate([-145.5,20,2.4]) import("pico_voltex.3mf", convexity=3);
}
module test_board() {
color("green", 0.5) translate([0,0,3]) main_shape(0, 1.6);
translate([2,55,1.8]) color("green") rotate([90,180,90]) import("pico.stl", convexity=3);
gateron([-54,33,0]);
gateron([-18,33,0]);
gateron([18,33,0]);
gateron([54,33,0]);
gateron([-72,0,0]);
gateron([-36,0,0]);
gateron([-0,0,0]);
gateron([36,0,0]);
gateron([72,0,0]);
pico([-24.5,43.5,0]);
usbc();
}
}
module body() {
@ -69,8 +59,8 @@ module gateron(pos) {
module pico(pos) {
translate([0,0,0.6]) translate(pos) color("gold") cube([53,23,5]);
translate([-0.75,7.25,-1]) translate(pos) color("gold") cube([6.25,8.5,6]);
translate([10,12.5,-1]) translate(pos) color("gold") cube([6,5,6]);
translate([-0.9,7.25,-1]) translate(pos) color("red") cube([6.75,8.5,6]);
translate([10,12.5,-1]) translate(pos) color("blue") cube([6,5,6]);
}
module screws() {
@ -80,4 +70,10 @@ module screws() {
translate([-85,-10,-1]) color("gray") cylinder(d=3.5, h=10);
translate([85,-10,-1]) color("gray") cylinder(d=3.5, h=10);
}
module usbc() {
hull() {
translate([-37.5, 80, 5.6]) rotate([90,0,0]) cylinder(d=3.4,h=20,$fn=32);
translate([-30.75, 80, 5.6]) rotate([90,0,0]) cylinder(d=3.4,h=20,$fn=32);
}
}

Binary file not shown.

Binary file not shown.