Add Current Case STLs

This commit is contained in:
seiichiro 2021-07-15 18:20:46 +02:00
parent d1195efb82
commit c08d2aac8e
5 changed files with 10 additions and 8 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1,5 +1,5 @@
use <libRoundedcube.scad>;
use <gopro_mounts.scad>;
use <../lib/libRoundedcube.scad>;
use <../lib/gopro_mounts.scad>;
$boardw=30.4;
$boardh=37.3;
@ -29,17 +29,17 @@ module front() {
translate([-0.1,$walls+$boardw-9.2,-5.36]) cube([3,8.5,9.6]);
translate([-0.1,($walls*2)+9,-2.6]) rotate([0,90,0]) cylinder(5, 2.85, 2.85, $fn=100);
translate([-0.5,($walls*2)+9-2.85,-2.6]) rotate([0,90,0]) cube([6, 2.85*2, 5]);
translate([$boardh+($walls*4)+5,($boardw+($walls*4))/2,3]) rotate([0,90,0]) cylinder(10, 2, 2, $fn=100);
}
translate([$boardh+25.65, ($boardw+($walls*4))/2, 2.3]) rotate([0,90,90]) gopro_connector("double");
}
module back() {
difference() {
union() {
roundedcube([$boardh+($walls*4)+10, $boardw+($walls*4), 11], false, 2, "zmin", $fn=100);
rotate([90,0,0]) translate([$boardh+7, -11+3.4, -($boardw+($walls*4))/2]) gopro_connector("double");
}
translate([$walls-0.95,$walls-1.1, 5.4]) roundedcube([$boardh+($walls*2)+11.9,$boardw+($walls*2)+2,7.7], false, 2, "zmax", $fn=100);
translate([$walls, ($walls*2)+1, 1.6]) cube([$boardh+($walls*3), $boardw-2, 9.4]);
@ -47,11 +47,13 @@ module back() {
translate([-0.5,($walls*2)+9,6.1]) rotate([0,90,0]) cylinder(5, 2.85, 2.85, $fn=100);
translate([-0.5,($walls*2)+9-2.85,12]) rotate([0,90,0]) cube([6, 2.85*2, 5]);
translate([-0.1,$walls+$boardw-9.3,6]) cube([3,9,9.6]);
// translate([28.5,3.6,-1]) cube([14,8.5,13]); // Programming Port
translate([$boardh+16, ($boardw+($walls*4))/2, 11]) cube([10,15,11], center=true);
// translate([$boardh+11, ($boardw+($walls*4))/2, -1]) cylinder(10, 2, 2);
translate([$boardh+5.3, 0, $walls]) cube(size=[9.5,15,3.2]);
}
}
translate([0,-10,9.6]) rotate([180,0,0]) front();
// rotate([180,0,0]) back();
// translate([0, 5, -9.4]) front();
translate([0, -5, 0]) rotate([180,0,0]) back();