summaryrefslogtreecommitdiff
path: root/pushfittery.scad
Unidiff
Diffstat (limited to 'pushfittery.scad') (more/less context) (ignore whitespace changes)
-rw-r--r--pushfittery.scad1
1 files changed, 1 insertions, 0 deletions
diff --git a/pushfittery.scad b/pushfittery.scad
index adebec2..ee3bbd0 100644
--- a/pushfittery.scad
+++ b/pushfittery.scad
@@ -1,12 +1,13 @@
1layer_height=.2;
1draft = true; 2draft = true;
2 3
3use <threads.scad>; 4use <threads.scad>;
4 5
5function pf_(d,k) = d[search([k],d)[0]][1]; 6function pf_(d,k) = d[search([k],d)[0]][1];
6function pf_d(pf) = pf_(pf,"d"); 7function pf_d(pf) = pf_(pf,"d");
7function pf_h(pf) = pf_(pf,"h"); 8function pf_h(pf) = pf_(pf,"h");
8module pushfit(pf,draft=draft) { 9module pushfit(pf,draft=draft) {
9 fnd = 2*PI; epsilon=.01; 10 fnd = 2*PI; epsilon=.01;
10 type = pf_(pf,"type"); 11 type = pf_(pf,"type");
11 h = pf_h(pf); 12 h = pf_h(pf);
12 if(type=="threaded") { 13 if(type=="threaded") {