You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
333 B
OpenSCAD
21 lines
333 B
OpenSCAD
10 years ago
|
// ace can highlight scad!
|
||
|
module Element(xpos, ypos, zpos){
|
||
|
translate([xpos,ypos,zpos]){
|
||
|
union(){
|
||
|
cube([10,10,4],true);
|
||
|
cylinder(10,15,5);
|
||
|
translate([0,0,10])sphere(5);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
union(){
|
||
|
for(i=[0:30]){
|
||
|
# Element(0,0,0);
|
||
|
Element(15*i,0,0);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
for (i = [3, 5, 7, 11]){
|
||
|
rotate([i*10,0,0])scale([1,1,i])cube(10);
|
||
|
}
|