zacisteni formy
authorTomas Mudrunka <tomas.mudrunka@gmail.com>
Wed, 12 Feb 2025 02:26:16 +0000 (03:26 +0100)
committerTomas Mudrunka <tomas.mudrunka@gmail.com>
Wed, 12 Feb 2025 02:26:16 +0000 (03:26 +0100)
openscad/planter_modular_c.scad

index 612bce0e52e26efe07cf57ca6ede4d128ad25657..8fbd8d06aea3ec1bfd64465a6e3f4c94878685ee 100644 (file)
@@ -76,34 +76,30 @@ module planter2(hollow=1, n=1, pitch=17.3, d1=20, di=16.5) {
        }
 }
 
-module double(ho=1) {
-       translate([0,0,0])              if(ho==-1) cavity( 1); else planter( 1, hollow=ho);
-       translate([0,17.3,0])   if(ho==-1) cavity(-1); else planter(-1, hollow=ho);
-}
-
-//!cavity2();
-//!planter2(n=1);
-//for(i = [0:1:2]) translate([0,0,i*15.1]) planter2(n=3-i);
-
-
-
-scale(5) {
-       difference() {
-               union() {
-                       difference() {
-                               //translate([-11,-10,-1]) cube([22,37,16]);
-                               //translate([0,0,0]) minkowski() {
-                               //cube([2,6,0.0000000001], center=true);
-                               hull() {
-                                       planter2(n=1, di=22);
-                                       translate([0,0,14]) mold_plate(n=1, d=23, h=1);
+module mold_final(units=1) {
+       scale(5) {
+               difference() {
+                       union() {
+                               difference() {
+                                       //translate([-11,-10,-1]) cube([22,37,16]);
+                                       //translate([0,0,0]) minkowski() {
+                                       //cube([2,6,0.0000000001], center=true);
+                                       hull() {
+                                               planter2(n=units, di=22);
+                                               translate([0,0,14]) mold_plate(n=units, d=23, h=1);
+                                       }
+                                       //}
+                                       planter2(hollow=0, n=units);
+                                       translate([-4,0,0]) cube([0.01,100,50], center=true); //split mold
                                }
-                               //}
-                               planter2(hollow=0, n=1);
-                               translate([-4,0,0]) cube([0.01,100,50], center=true); //split mold
+                               translate([0,0,1]) cavity2(n=units, plate=0.4);
                        }
-                       translate([0,0,1]) cavity2(n=1, plate=0.4);
+               mold_screws(n=units);
                }
-       mold_screws(n=1);
        }
 }
+
+//!cavity2();
+//!planter2(n=1);
+//for(i = [0:1:2]) translate([0,0,i*15.1]) planter2(n=3-i);
+mold_final(1);
This page took 0.148751 seconds and 4 git commands to generate.