Tak jak vždy včetně kodu v OpenScadu.
- Kód: Vybrat vše
$fn=100;
module zaklad (){
hull (){
translate ([0,0,-4.25])cylinder (h=9,d=50,center=true);
translate ([0,0,-16])cylinder (h=1,d=25,center=true);
}
hull (){
translate ([0,0,-4.25])cylinder (h=9,d=50,center=true);
translate ([0,0,-16])cylinder (h=1,d=25,center=true);
}}
module rez (){
hull (){
zaklad ();
translate ([36,0,-10]) rotate ([90,0,0])cylinder (h=37.5,d=20,center=true);
}
hull (){
translate ([36,0,-10]) rotate ([90,0,0])cylinder (h=38,d=20,center=true);
translate ([43,0,-2]) cube ([6,38,10],center=true);
}
cylinder (h=13,d=48,center=true);
}
difference (){
rez ();
for (a=[10:10:180]){
translate ([0,0,6])rotate ([45,0,a])cube ([54,8,8],center=true);
}
translate ([0,0,-4.25])cylinder (h=13,d=38,center=true);
hull (){
translate ([0,0,-6.5])cylinder (h=9,d=38,center=true);
translate ([0,0,-12])cylinder (h=3,d=28,center=true);
}
translate ([0,0,-7.5]) cylinder (h=22,d=13,center=true);
hull (){
translate ([34,0,-8]) rotate ([90,0,0])cylinder (h=50,d=18,center=true);
translate ([34,0,2]) cube ([18,40,8],center=true);
}
translate ([34,12,-17.5]) cylinder (h=22,d=6,center=true);
translate ([34,-12,-17.5]) cylinder (h=22,d=6,center=true);
translate ([34,12,-19.5]) cylinder (h=2,d=11,center=true);
translate ([34,-12,-19.5]) cylinder (h=2,d=11,center=true);
}
//stredovy kriz
difference (){
union (){
hull (){
translate ([0,0,-4.5])cube ([44,2,8],center=true);
translate ([0,0,-13.5])cube ([24,2,6],center=true);
}
hull (){
translate ([0,0,-3.5])cube ([2,40,6],center=true);
translate ([0,0,-13.5])cube ([2,24,6],center=true);
}
translate ([0,0,-7.5])cylinder (h=18,d=18,center=true);
}
translate ([0,0,-7.5]) cylinder (h=22,d=13,center=true);
}
//stredovy kriz