initial commit

This commit is contained in:
Greyscale 2024-06-30 22:28:37 +02:00
commit c21269f8c2
3 changed files with 61 additions and 0 deletions

3
.gitmodules vendored Normal file
View file

@ -0,0 +1,3 @@
[submodule "lib"]
path = lib
url = git@code.techinc.nl:grey/MattSCAD.git

1
lib Submodule

@ -0,0 +1 @@
Subproject commit a407f8fc9f3b91593d2aefee4ae77c8d15e1f2d7

57
u6lite-mount.scad Normal file
View file

@ -0,0 +1,57 @@
$fn=240;
use <lib/mirrorcopy.scad>
use <lib/metric_screws.scad>
selfTappingHolesMM = 2.9-0.25;
holeDistanceMM = 61;
standoffDiameterMM = 88;
module screw(recessCap=20){
length=20;
selfTappingScrew(mSize=3, length=length,recessCap=recessCap);
translate([0,0,(recessCap+length)/2])cylinder(h=recessCap,d=10, center=true);
}
module selfTappingHoles() {
mirrorCopy([1,1,0])
mirrorCopy([1,0,0])
translate([holeDistanceMM/2,0,0])
cylinder(d=selfTappingHolesMM, h=20+1, center=true);
}
module clearanceHoles(){
mirrorCopy([1,1,0])
mirrorCopy([1,0,0])
translate([holeDistanceMM/2,0,0])
screw(recessCap=20);
translate([0,holeDistanceMM/2,0])
screw(recessCap=50);
}
module foot(){
cylinder(d=standoffDiameterMM,h=20,center=true);
}
module middle(){
translate([0,90,35+7])
scale([0.5,0.6,1])
#sphere(d=standoffDiameterMM*0.7);
}
module wall(){
translate([0,110+5,35])
rotate([90,0,0])
cylinder(d=standoffDiameterMM,h=10,center=true);
}
#difference(){
union(){
hull(){
foot();
middle();
}
hull(){
middle();
wall();
}
}
selfTappingHoles();
translate([0,110+10,35])
rotate([90,0,0])
clearanceHoles();
}
/**/