You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

26 lines
577 B

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();