added mount

This commit is contained in:
Filip 2020-01-21 19:40:11 +01:00
parent a3a8f7a95e
commit 54e0e83d5f
2 changed files with 18 additions and 8 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.stl

View File

@ -6,13 +6,17 @@ Wall=1.67;
Clearance=0.2;
GPIOW=2.8;
GPIOL=22;
//translate([-Wall,0,-Wall]){
// difference(){
// cube([D1W+Wall*4,D1L+Wall*2,D1H+Wall*5]);
// translate([0,0,0]) cube([D1W+Wall*4,D1L/1.2,D1H+Wall]);
// }
//}
module drawMount(){
translate([-Wall,0,-Wall]){
difference(){
cube([D1W+Wall*4,D1L/3,D1H+Wall*5]);
union(){
translate([10,0,D1H]) cube([D1W/2,D1L/2,D1H+Wall]);
translate([Wall,0,Wall]) cube([D1W+(Wall*2),D1L+(Wall*2),D1H+Wall*2]);
}
}
}
}
module drawCase()
{
translate([0,0,0]){
@ -41,7 +45,7 @@ translate([0,0,0]){
}
module drawLid(){
//lid
translate([0,0,5]){
translate([0,0,0]){
difference(){
union(){
//lid
@ -74,4 +78,9 @@ module drawLid(){
minkowski(){
drawLid();
sphere(.2);
}
minkowski(){
drawMount();
sphere(.2);
}