55 lines
No EOL
1.7 KiB
OpenSCAD
55 lines
No EOL
1.7 KiB
OpenSCAD
$fn=120;
|
|
radius=5;
|
|
|
|
use <lib/mirrorcopy.scad>;
|
|
|
|
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);
|
|
}
|
|
|
|
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);
|
|
}
|
|
}
|
|
|
|
if($preview){
|
|
rotate([0,0,360*$t])
|
|
stand();
|
|
}else{
|
|
stand();
|
|
} |