author | Michael Krelin <hacker@klever.net> | 2018-07-31 19:29:07 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2018-07-31 19:29:07 (UTC) |
commit | 5765a244444bedd82c833758dfde721274a4b947 (patch) (side-by-side diff) | |
tree | 46571c7f980d1940d30c6e2c0d656df834602c94 | |
parent | bbac3cfec8ebd99cd19e7165855572a06ddfcf75 (diff) | |
download | extrudery-5765a244444bedd82c833758dfde721274a4b947.zip extrudery-5765a244444bedd82c833758dfde721274a4b947.tar.gz extrudery-5765a244444bedd82c833758dfde721274a4b947.tar.bz2 |
pushfittery: function to get pushfit by name
(not much different from `pf_() function`)
-rw-r--r-- | pushfittery.scad | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pushfittery.scad b/pushfittery.scad index 6b6ec2e..fedf2de 100644 --- a/pushfittery.scad +++ b/pushfittery.scad @@ -44 +44,3 @@ module pushfit(pf,draft=draft) { }//pushfit module + +function pf_byname(d,n) = d[search([n],d)[0]][1]; |