From: Tomas Mudrunka Date: Sun, 9 Feb 2025 22:41:35 +0000 (+0100) Subject: Pokus o zaformovani X-Git-Url: http://git.harvie.cz/?a=commitdiff_plain;h=8e957ba4acdf6b44426885d0e42505beb07d8c59;p=mirrors%2FDesigns.git Pokus o zaformovani --- diff --git a/openscad/planter_modular_b.scad b/openscad/planter_modular_b.scad index c2b604d..c7a0cf4 100644 --- a/openscad/planter_modular_b.scad +++ b/openscad/planter_modular_b.scad @@ -1,21 +1,23 @@ +$fn=6; + module planter(hole=0) { difference() { intersection() { union() { - cylinder(d2=20, d1=20, h=16, $fn=6); - translate([0,0,-1]) cylinder(d2=16, d1=14, h=1, $fn=6); //index + cylinder(d2=20, d1=20, h=16); + translate([0,0,-1]) cylinder(d2=16, d1=15.5, h=1); //index } union() { difference() { - cylinder(d2=20, d1=20, h=16, $fn=6); - translate([0,0,2]) cylinder(d2=17, d1=13, h=16, $fn=6); //pothole + cylinder(d2=20, d1=20, h=16); + translate([0,0,2]) cylinder(d2=17, d1=13, h=16); //pothole translate([0,17.3/2*hole,2]) rotate([0,0,45]) cylinder(d2=12, d1=9.2, h=16, $fn=4); //pothole2 } - translate([-2,0,-2]) rotate([0,90,0]) rotate([0,0,30]) cylinder(d1=5, d2=38, h=12, $fn=6); //balcony - translate([0,0,-1]) cylinder(d2=16, d1=16, h=1, $fn=6); //index + translate([-3,0,-2]) scale([1,0.9,1.3]) rotate([0,90,0]) rotate([0,0,30]) cylinder(d1=5, d2=38, h=16); //balcony + translate([0,0,-1]) cylinder(d2=16, d1=16, h=1); //index } } - translate([-2,0,-2]) rotate([0,90,0]) rotate([0,0,30]) cylinder(d1=1, d2=34, h=12, $fn=6); //balcony + translate([-3,0,-2]) scale([1,0.9,1.3]) rotate([0,90,0]) rotate([0,0,30]) cylinder(d1=1, d2=34, h=16); //balcony } } @@ -25,7 +27,11 @@ module double() { translate([0,17.3,0]) planter(-1); } +//translate([0,0,16.1]) planter(); +//translate([0,-20,0]) planter(); +//double(); -//translate([0,0,16]) planter(); -translate([0,-20,0]) planter(); -double(); +scale(5) difference() { + translate([-11,-10,-1]) cube([22,37,17]); + double(); +}