Space-Light-Button-Stands/aux_space_light_button_stand.scad

55 lines
1.7 KiB
OpenSCAD
Raw Permalink Normal View History

$fn=120;
radius=5;
use <lib/mirrorcopy.scad>;
2024-06-24 09:19:21 +00:00
module stand(){
render()
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);
2024-06-24 09:19:21 +00:00
}
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);
}
}
}
}
2024-06-24 09:19:21 +00:00
translate([0,0,10-1])
cylinder(h=30, d=35, center=true);
}
2024-06-24 09:19:21 +00:00
}
if($preview){
rotate([0,0,360*$t])
stand();
}else{
stand();
}