diff options
author | Erich Eckner <git@eckner.net> | 2023-03-29 20:38:21 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2023-03-29 20:38:21 +0200 |
commit | 972d32039dbff5df1f6524bd4cc05766e56b1ab0 (patch) | |
tree | f8ff87c75310fbf45765e4629afd2a55a69760c0 | |
parent | dc30c4961263ef7bede5a8606adbd8621a51cdb4 (diff) | |
download | Patronenhuelle-master.tar.xz |
-rw-r--r-- | Patronenhuelle.scad | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Patronenhuelle.scad b/Patronenhuelle.scad index f990261..64f23f4 100644 --- a/Patronenhuelle.scad +++ b/Patronenhuelle.scad @@ -3,7 +3,7 @@ Patronenlaenge = 40; Wanddicke = 3; Gewindelaenge = 10; Gang = 2; -epsilon = 0.01; +epsilon = 0.05; P = Gang; H = sqrt(3)/2 * P; @@ -17,10 +17,10 @@ module einTrapez(n) { translate([Gang*n,Patronendicke/2+Wanddicke*2/3-3*H/8,0]) linear_extrude(0.0001) polygon([ - [-(6+auszen)/16*P,-H/4], - [-(P+auszen)/16,3/8*H], - [(P+auszen)/16,3/8*H], - [(6+auszen)/16*P,-H/4] + [-(6+auszen)/16*P+epsilon,(auszen*5-2)/8*H], + [-(P+auszen)/16+epsilon,(3-5*auszen)/8*H], + [(P+auszen)/16-epsilon,(3-5*auszen)/8*H], + [(6+auszen)/16*P-epsilon,(auszen*5-2)/8*H] ]); }; |