From: Tomas Mudrunka Date: Fri, 14 Feb 2025 21:44:14 +0000 (+0100) Subject: cavity skew X-Git-Url: http://git.harvie.cz/?a=commitdiff_plain;h=49babd52b9a15d32d1a770b21ba1fbf46a0dff4d;p=mirrors%2FDesigns.git cavity skew --- diff --git a/openscad/planter_modular_c.scad b/openscad/planter_modular_c.scad index 292be22..28a71a3 100644 --- a/openscad/planter_modular_c.scad +++ b/openscad/planter_modular_c.scad @@ -40,11 +40,11 @@ module mold_screws(n, d=3.25/5, h=0.4, pitch=17.3, l=1.2) { } } -module cavity2(n=1, pitch=17.3, d1=13, d2=17, plate=0) { +module cavity2(n=1, pitch=17.3, d1=13, d2=17, plate=0, skew=-1.5) { bot = path_merge_collinear(union([ for(i = [0 : 1 : n]) union([ - move([0,i*pitch], hexagon(d=10.2)), - if(i!=n) move([0,(i*pitch)+(pitch/2)], square([5.1,pitch/2], center=true)) + move([skew,i*pitch], hexagon(d=10.2)), + if(i!=n) move([skew,(i*pitch)+(pitch/2)], square([5.1,pitch/2], center=true)) ]) ]));