diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1567411 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.stl diff --git a/esp8266.scad b/esp8266.scad index 7b0370b..b64f29c 100644 --- a/esp8266.scad +++ b/esp8266.scad @@ -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); } \ No newline at end of file