$fn=6;
/* TODO
- - zaoblit hrany
- sroubovatelna forma
- musi ji vyndat z formy
- diry na zavlahu?
difference() {
union() {
translate([0,0,7.5]) rounded_prism(top, height=15, joint_top=0.5, joint_bot=0.5, joint_sides=0.5, splinesteps=$fn, anchor="origin"); //main hexagon
- for(i = [0 : 1 : n]) translate([0,i*pitch,-1]) rounded_prism(hexagon(d=16.5), hexagon(d=17), height=1, joint_top=-0.5, joint_bot=0.5, joint_sides=1, splinesteps=$fn, anchor="bot"); //index
+ for(i = [0 : 1 : n]) translate([0,i*pitch,-1]) rounded_prism(hexagon(d=16.5), hexagon(d=17), height=1, joint_top=-0.5, joint_bot=0, joint_sides=1, splinesteps=$fn, anchor="bot"); //index
}
if(hollow != 0) cavity2(n, pitch);
for(i = [0 : 1 : n]) translate([-3,i*pitch,-2]) scale([1,0.9,1.22]) rotate([0,90,0]) rotate([0,0,30]) cylinder(d1=1, d2=34, h=15); //balcony
translate([0,17.3,0]) if(ho==-1) cavity(-1); else planter(-1, hollow=ho);
}
-//%cavity();
//cavity2();
-//planter2(n=5);
-//!double()
+//planter2(n=1);
+//for(i = [0:1:2]) translate([0,0,i*15.1]) planter2(n=3-i);
-for(i = [0:1:2]) translate([0,0,i*15.1]) planter2(n=3-i);
-/*
scale(5) {
difference() {
//translate([-11,-10,-1]) cube([22,37,16]);
translate([0,0,0]) minkowski() {
cube([2,6,0.0000000001], center=true);
- hull() double();
+ hull() planter2(n=1);
}
- double(ho=0);
+ planter2(hollow=0, n=1);
translate([-4,0,0]) cube([0.01,100,50], center=true); //split mold
}
- translate([20,0,0]) double(ho=-1);
+ translate([20,0,0]) cavity2(n=1);
}
-*/