initial dump onto git, like a driveby flytipping
This commit is contained in:
parent
3f59a7d0f7
commit
ec412d6999
8 changed files with 137 additions and 0 deletions
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "lib"]
|
||||||
|
path = lib
|
||||||
|
url = git@code.techinc.nl:grey/MattSCAD.git
|
45
aux_space_light_button_stand.scad
Normal file
45
aux_space_light_button_stand.scad
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
$fn=120;
|
||||||
|
radius=5;
|
||||||
|
|
||||||
|
use <lib/mirrorcopy.scad>;
|
||||||
|
|
||||||
|
difference(){
|
||||||
|
union(){
|
||||||
|
hull(){
|
||||||
|
translate([0,0,20])
|
||||||
|
cylinder(h=1, d=45, center=true);
|
||||||
|
|
||||||
|
translate([0,0,0])
|
||||||
|
cylinder(h=1, d=45, center=true);
|
||||||
|
|
||||||
|
translate([0,0,30])
|
||||||
|
rotate([0,45,0])
|
||||||
|
translate([5,0,0])
|
||||||
|
mirrorCopy([1,0,0],[0,1,0])
|
||||||
|
translate([(35-radius)/2,(35-radius)/2,0.5])
|
||||||
|
cylinder(h=1,r=radius, center=true);
|
||||||
|
}
|
||||||
|
|
||||||
|
translate([0,0,30]){
|
||||||
|
rotate([0,45,0]){
|
||||||
|
difference(){
|
||||||
|
hull(){
|
||||||
|
translate([5,0,0])
|
||||||
|
mirrorCopy([1,0,0],[0,1,0])
|
||||||
|
translate([(35-radius)/2,(35-radius)/2,0.5])
|
||||||
|
cylinder(h=1,r=radius, center=true);
|
||||||
|
translate([0,0,0])
|
||||||
|
mirrorCopy([1,0,0],[0,1,0])
|
||||||
|
translate([(45-radius)/2,(45-radius)/2,24.5])
|
||||||
|
cylinder(h=1,r=radius, center=true);
|
||||||
|
}
|
||||||
|
mirrorCopy([1,0,0])
|
||||||
|
translate([25/2,0,25/2+0.5])
|
||||||
|
cylinder(d=3.2, h=24, center=true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
translate([0,0,10-1])
|
||||||
|
cylinder(h=30, d=35, center=true);
|
||||||
|
}
|
BIN
aux_space_light_button_stand.stl
Normal file
BIN
aux_space_light_button_stand.stl
Normal file
Binary file not shown.
5
dimension_test.scad
Normal file
5
dimension_test.scad
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
$fn=120;
|
||||||
|
difference(){
|
||||||
|
cylinder(h=2, d=45, center=true);
|
||||||
|
cylinder(h=3, d=35, center=true);
|
||||||
|
}
|
BIN
dimension_test.stl
Normal file
BIN
dimension_test.stl
Normal file
Binary file not shown.
1
lib
Submodule
1
lib
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit a407f8fc9f3b91593d2aefee4ae77c8d15e1f2d7
|
83
main_space_light_button_stand.scad
Normal file
83
main_space_light_button_stand.scad
Normal file
|
@ -0,0 +1,83 @@
|
||||||
|
$fn=120;
|
||||||
|
radius=5;
|
||||||
|
|
||||||
|
use <lib/mirrorcopy.scad>;
|
||||||
|
use <lib/pcd.scad>;
|
||||||
|
use <lib/metric_screws.scad>;
|
||||||
|
|
||||||
|
module base(){
|
||||||
|
hull()
|
||||||
|
mirrorCopy([1,0,0],[0,1,0])
|
||||||
|
translate([40/2,40/2,5/2])
|
||||||
|
cylinder(h=5,r=radius, center=true);
|
||||||
|
}
|
||||||
|
module ring0(){
|
||||||
|
translate([0,0,10])cylinder(h=1,d=35);
|
||||||
|
}
|
||||||
|
module ring1(){
|
||||||
|
translate([0,0,10+10])cylinder(h=1,d=28);
|
||||||
|
}
|
||||||
|
module ring2(){
|
||||||
|
translate([0,0,10+10+10])cylinder(h=1,d=26);
|
||||||
|
}
|
||||||
|
module ring3(){
|
||||||
|
translate([0,0,10+10+10+10])cylinder(h=1,d=25);
|
||||||
|
}
|
||||||
|
module ring4(){
|
||||||
|
translate([0,0,10+10+10+10+30])cylinder(h=1,d=25);
|
||||||
|
}
|
||||||
|
module ring5(){
|
||||||
|
translate([0,0,10+10+10+10+30+30])cylinder(h=1,d=26);
|
||||||
|
}
|
||||||
|
module ring6(){
|
||||||
|
translate([0,0,10+10+10+10+30+30+10])cylinder(h=1,d=28);
|
||||||
|
}
|
||||||
|
module ring7(){
|
||||||
|
translate([0,0,10+10+10+10+30+30+10+10])cylinder(h=1,d=35);
|
||||||
|
}
|
||||||
|
module groove(){
|
||||||
|
hull(){
|
||||||
|
translate([25/2,0,25])sphere(r=2);
|
||||||
|
translate([25/2+5,0,25])sphere(r=2);
|
||||||
|
translate([25/2,0,10+10+10+10+30+30+10+10-15])sphere(r=2);
|
||||||
|
translate([25/2+5,0,10+10+10+10+30+30+10+10-15])sphere(r=2);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
module pedistal(){
|
||||||
|
difference(){
|
||||||
|
hull(){
|
||||||
|
ring7();
|
||||||
|
translate([0,0,110])
|
||||||
|
mirrorCopy([1,0,0],[0,1,0])
|
||||||
|
translate([(45-radius)/2,(45-radius)/2,24.5])
|
||||||
|
cylinder(h=1,r=radius, center=true);
|
||||||
|
}
|
||||||
|
mirrorCopy([1,0,0])
|
||||||
|
translate([25/2,0,25/2+0.5])
|
||||||
|
cylinder(d=3.2, h=24, center=true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
difference(){
|
||||||
|
union(){
|
||||||
|
hull(){ base(); ring0(); }
|
||||||
|
hull(){ ring0(); ring1(); }
|
||||||
|
hull(){ ring1(); ring2(); }
|
||||||
|
hull(){ ring2(); ring3(); }
|
||||||
|
hull(){ ring3(); ring4(); }
|
||||||
|
hull(){ ring4(); ring5(); }
|
||||||
|
hull(){ ring5(); ring6(); }
|
||||||
|
hull(){ ring6(); ring7(); }
|
||||||
|
pedistal();
|
||||||
|
}
|
||||||
|
|
||||||
|
pcd(360/12)groove();
|
||||||
|
|
||||||
|
mirrorCopy([1,0,0])
|
||||||
|
translate([25/2,0,25/2+0.5+110])
|
||||||
|
cylinder(d=3.2, h=24, center=true);
|
||||||
|
|
||||||
|
mirrorCopy([1,0,0],[0,1,0])
|
||||||
|
translate([17.5,17.5,-4])
|
||||||
|
selfTappingScrew(mSize=5, length=20, recessCap=10);
|
||||||
|
}
|
||||||
|
|
BIN
main_space_light_button_stand.stl
Normal file
BIN
main_space_light_button_stand.stl
Normal file
Binary file not shown.
Loading…
Reference in a new issue