Cibule na vytazeni
authorTomas Mudrunka <tomas.mudrunka@gmail.com>
Wed, 12 Feb 2025 03:36:09 +0000 (04:36 +0100)
committerTomas Mudrunka <tomas.mudrunka@gmail.com>
Wed, 12 Feb 2025 03:36:09 +0000 (04:36 +0100)
openscad/planter_modular_c.scad

index bb3ea542793b63376b755e4c33397b964dd5c86b..193b85b0c80e0fdb8f3a8c7ea5f5577622551529 100644 (file)
@@ -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
This page took 0.196556 seconds and 4 git commands to generate.