commit
29b5ac4880
1 changed files with 26 additions and 0 deletions
@ -0,0 +1,26 @@ |
|||||||
|
dim = 170; |
||||||
|
border = 8; |
||||||
|
h = 30; |
||||||
|
d = 10; |
||||||
|
|
||||||
|
module fliese(){ |
||||||
|
difference(){ |
||||||
|
rotate([0,0,45])translate([-dim/2,-dim/2,0])cube([dim,dim,h]); |
||||||
|
translate([0,0,h]) rotate([90,0,0]) cylinder(d=d,h=2*dim,$fn=6,center=true); |
||||||
|
for (i = [0:10]){ |
||||||
|
translate([-1.5*d*i,0,h]) rotate([90,0,0]) cylinder(d=d,h=2*dim,$fn=6,center=true); |
||||||
|
translate([ 1.5*d*i,0,h]) rotate([90,0,0]) cylinder(d=d,h=2*dim,$fn=6,center=true); |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
module form(){ |
||||||
|
l = dim+2*border; |
||||||
|
rotate([180,0,45]) |
||||||
|
difference() { |
||||||
|
rotate([0,0,45])translate([-l/2,-l/2,0.1])cube([l,l,h+5]); |
||||||
|
fliese(); |
||||||
|
} |
||||||
|
} |
||||||
|
form(); |
Loading…
Reference in new issue