corrade-nucleus-nucleons – Blame information for rev 24
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
20 | office | 1 | // ace can highlight scad! |
2 | module Element(xpos, ypos, zpos){ |
||
3 | translate([xpos,ypos,zpos]){ |
||
4 | union(){ |
||
5 | cube([10,10,4],true); |
||
6 | cylinder(10,15,5); |
||
7 | translate([0,0,10])sphere(5); |
||
8 | } |
||
9 | } |
||
10 | } |
||
11 | |||
12 | union(){ |
||
13 | for(i=[0:30]){ |
||
14 | # Element(0,0,0); |
||
15 | Element(15*i,0,0); |
||
16 | } |
||
17 | } |
||
18 | |||
19 | for (i = [3, 5, 7, 11]){ |
||
20 | rotate([i*10,0,0])scale([1,1,i])cube(10); |
||
21 | } |