From 5765a244444bedd82c833758dfde721274a4b947 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Tue, 31 Jul 2018 19:29:07 +0000 Subject: pushfittery: function to get pushfit by name (not much different from `pf_() function`) --- diff --git a/pushfittery.scad b/pushfittery.scad index 6b6ec2e..fedf2de 100644 --- a/pushfittery.scad +++ b/pushfittery.scad @@ -42,3 +42,5 @@ module pushfit(pf,draft=draft) { cylinder(d1=id-2*epsilon,d2=id+2*ch+2,h=ch+epsilon+1); } }//pushfit module + +function pf_byname(d,n) = d[search([n],d)[0]][1]; -- cgit v0.9.0.2