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; Clearance=0.2;
GPIOW=2.8; GPIOW=2.8;
GPIOL=22; GPIOL=22;
//translate([-Wall,0,-Wall]){ module drawMount(){
// difference(){ translate([-Wall,0,-Wall]){
// cube([D1W+Wall*4,D1L+Wall*2,D1H+Wall*5]); difference(){
// translate([0,0,0]) cube([D1W+Wall*4,D1L/1.2,D1H+Wall]); 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() module drawCase()
{ {
translate([0,0,0]){ translate([0,0,0]){
@ -41,7 +45,7 @@ translate([0,0,0]){
} }
module drawLid(){ module drawLid(){
//lid //lid
translate([0,0,5]){ translate([0,0,0]){
difference(){ difference(){
union(){ union(){
//lid //lid
@ -75,3 +79,8 @@ module drawLid(){
drawLid(); drawLid();
sphere(.2); sphere(.2);
} }
minkowski(){
drawMount();
sphere(.2);
}