summaryrefslogtreecommitdiff
path: root/pushfittery.scad
Side-by-side diff
Diffstat (limited to 'pushfittery.scad') (more/less context) (ignore whitespace changes)
-rw-r--r--pushfittery.scad2
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
@@ -43,2 +43,4 @@ module pushfit(pf,draft=draft) {
}
}//pushfit module
+
+function pf_byname(d,n) = d[search([n],d)[0]][1];