From: Tomas Mudrunka Date: Wed, 12 Feb 2025 03:36:09 +0000 (+0100) Subject: Cibule na vytazeni X-Git-Url: http://git.harvie.cz/?a=commitdiff_plain;h=36db810be84a78e5104c6b7ed2bcb000e8012fbc;p=mirrors%2FDesigns.git Cibule na vytazeni --- diff --git a/openscad/planter_modular_c.scad b/openscad/planter_modular_c.scad index bb3ea54..193b85b 100644 --- a/openscad/planter_modular_c.scad +++ b/openscad/planter_modular_c.scad @@ -26,9 +26,12 @@ module mold_screws(n, d=3.5/5, h=0.4, pitch=17.3, l=1.2) { translate([0,(n+0.55)*pitch, 3]) rotate([0,90,0]) cylinder(d=d, h=100, center=true); translate([0,(0-0.58)*pitch,10]) rotate([0,90,0]) cylinder(d=d, h=100, center=true); translate([0,(n+0.58)*pitch,10]) rotate([0,90,0]) cylinder(d=d, h=100, center=true); - for(i = [0 : 1 : n]) if(i!=n) { - translate([ pitch*0.5,(i+0.5)*pitch,0]) cylinder(d=d, h=100, center=true); - translate([-pitch*0.5,(i+0.5)*pitch,0]) cylinder(d=d, h=100, center=true); + for(i = [0 : 1 : n]) { + translate([-1,i*pitch,13]) onion(r=5, ang=45, $fn=12); + if(i!=n) { + translate([ pitch*0.5,(i+0.5)*pitch,0]) cylinder(d=d, h=100, center=true); + translate([-pitch*0.5,(i+0.5)*pitch,0]) cylinder(d=d, h=100, center=true); + } } } @@ -101,7 +104,7 @@ module mold_final(units=1) { } } -//!cavity2(); +//!cavity2(n=1); //!planter2(n=1); //for(i = [0:1:2]) translate([0,0,i*15.1]) planter2(n=3-i); //pyramid stack //for(i = [0:1:2]) translate([i*23,0,0]) planter2(n=i); //testers