first commit
This commit is contained in:
commit
97fa7a8022
55
esp8266.scad
Normal file
55
esp8266.scad
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
D1W=26;
|
||||||
|
D1L=34.5;
|
||||||
|
D1H=8;
|
||||||
|
Wall=2;
|
||||||
|
Clearance=0.2;
|
||||||
|
Lidnodge=1;
|
||||||
|
GPIOW=2.5;
|
||||||
|
GPIOL=21;
|
||||||
|
translate([0,0,0]){
|
||||||
|
|
||||||
|
difference(){
|
||||||
|
cube([D1W+(Wall*2),D1L+(Wall*2),D1H+Wall-0.1]);
|
||||||
|
|
||||||
|
translate([Wall,Wall,Wall]){
|
||||||
|
difference(){
|
||||||
|
cube([D1W,D1L,D1H]);
|
||||||
|
//PCB Spacer
|
||||||
|
translate([0,D1L-4.5,0]){
|
||||||
|
cube([D1W,4.5,2.4]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//usb port
|
||||||
|
translate([((D1W/2)-(7.5/2))+Wall,-1,Wall]){
|
||||||
|
cube([7.5,Wall+1,3.0]);
|
||||||
|
}
|
||||||
|
//reset button
|
||||||
|
translate([-1,Wall+2,Wall]){
|
||||||
|
cube([Wall+1,2,1]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//lid
|
||||||
|
difference(){
|
||||||
|
union(){
|
||||||
|
//lid
|
||||||
|
translate([0,0,D1H+Wall]){
|
||||||
|
cube([D1W+(Wall*2),D1L+(Wall*2),Wall-0.1]);
|
||||||
|
|
||||||
|
//fit
|
||||||
|
translate([0+Wall,0+Wall,-Lidnodge]){
|
||||||
|
cube([D1W-Clearance,D1L-Clearance,Lidnodge]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//GPIO ports
|
||||||
|
//Left
|
||||||
|
translate([Wall,6.2+Wall,(D1H+Wall)-Lidnodge]){
|
||||||
|
cube([GPIOW,GPIOL,Wall+Lidnodge]);
|
||||||
|
}
|
||||||
|
//Right
|
||||||
|
translate([D1W+Wall-GPIOW,6.2+Wall,(D1H+Wall)-Lidnodge]){
|
||||||
|
cube([GPIOW,GPIOL,Wall+Lidnodge]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
22
fagelbord.scad
Normal file
22
fagelbord.scad
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
maindia=150;
|
||||||
|
mainheight=3;
|
||||||
|
wall=1.26*3;
|
||||||
|
stick=8.95;
|
||||||
|
wallheight=20;
|
||||||
|
$fn=1000;
|
||||||
|
translate([0,0,0]){
|
||||||
|
cylinder(d=maindia,h=mainheight);
|
||||||
|
translate([0,0,mainheight]){
|
||||||
|
difference(){
|
||||||
|
cylinder(d=maindia,h=wallheight);
|
||||||
|
cylinder(d=maindia-wall,h=30);
|
||||||
|
}
|
||||||
|
cylinder(h=wallheight,r1=24,r2=15,center=false);
|
||||||
|
}
|
||||||
|
difference(){
|
||||||
|
rotate([0, 180, 0])
|
||||||
|
cylinder(h = 10, d1 = wall+stick+2, d2 = wall+stick);
|
||||||
|
rotate([0, 180, 0])
|
||||||
|
cylinder(h = 10, d=stick);
|
||||||
|
}
|
||||||
|
}
|
||||||
75
test.scad
Normal file
75
test.scad
Normal file
@ -0,0 +1,75 @@
|
|||||||
|
|
||||||
|
//cube( [width,depth,height] );
|
||||||
|
//translate( [x,y,z] )
|
||||||
|
bracketl(94,4.5);
|
||||||
|
module bracketl(height,plexithick,$fn=100) {
|
||||||
|
material=5;
|
||||||
|
bracketthick = plexithick + material;
|
||||||
|
length=50;
|
||||||
|
intendention=length/2.45;
|
||||||
|
hole=6;
|
||||||
|
cutout=-hole/2;
|
||||||
|
thickcut=2;
|
||||||
|
spaceconnector=1.5;
|
||||||
|
//MAIN PIECE with CONNECTOR
|
||||||
|
echo(bracketthick);
|
||||||
|
difference(){
|
||||||
|
union() {
|
||||||
|
difference() {
|
||||||
|
cube([length,bracketthick,height]);
|
||||||
|
translate([0,material/2,0]){
|
||||||
|
cube([intendention,plexithick,height]);
|
||||||
|
}
|
||||||
|
echo(intendention);
|
||||||
|
translate([length-intendention,material/2,0]){
|
||||||
|
cube([intendention,plexithick,height]);
|
||||||
|
}
|
||||||
|
|
||||||
|
translate([length/5,bracketthick,height/4]) rotate([90,0,0]) cylinder(d=4.5,h=bracketthick);
|
||||||
|
translate([length/5,bracketthick,height/1.3]) rotate([90,0,0]) cylinder(d=4.5,h=bracketthick);
|
||||||
|
translate([length/1.27,bracketthick,height/1.3]) rotate([90,0,0]) cylinder(d=4.5,h=bracketthick);
|
||||||
|
translate([length/1.27,bracketthick,height/4]) rotate([90,0,0]) cylinder(d=4.5,h=bracketthick);
|
||||||
|
|
||||||
|
|
||||||
|
//CONNECTOR FEMALE
|
||||||
|
|
||||||
|
intersection(){
|
||||||
|
translate([(length/2),(bracketthick/2),0]){
|
||||||
|
cylinder(d=hole, h=height);
|
||||||
|
translate([cutout,-(bracketthick/1.9),0]){
|
||||||
|
cube([spaceconnector-0.2,bracketthick+1,height]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
//CONNECTOR MALE
|
||||||
|
union(){
|
||||||
|
diff=0.4;
|
||||||
|
exthole=hole-diff;
|
||||||
|
extthickcut=spaceconnector-diff;
|
||||||
|
|
||||||
|
|
||||||
|
intersection(){
|
||||||
|
translate([(length/2),(bracketthick/2),0]){
|
||||||
|
cylinder(d=exthole, h=height);
|
||||||
|
translate([cutout,-(bracketthick/2),0]){
|
||||||
|
cube([extthickcut,bracketthick,height]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// intersection(){
|
||||||
|
// stop=length-(intendention*2);
|
||||||
|
// translate([(length/2-stop/2),(bracketthick/2-stop/2-0.2),0]){
|
||||||
|
// translate([0,0,1]){
|
||||||
|
// #cube([stop,bracketthick+0.2,0.2]);
|
||||||
|
// }
|
||||||
|
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user