-rw-r--r-- | pushfittery.scad | 1 |
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 @@ | |||
1 | layer_height=.2; | ||
1 | draft = true; | 2 | draft = true; |
2 | 3 | ||
3 | use <threads.scad>; | 4 | use <threads.scad>; |
4 | 5 | ||
5 | function pf_(d,k) = d[search([k],d)[0]][1]; | 6 | function pf_(d,k) = d[search([k],d)[0]][1]; |
6 | function pf_d(pf) = pf_(pf,"d"); | 7 | function pf_d(pf) = pf_(pf,"d"); |
7 | function pf_h(pf) = pf_(pf,"h"); | 8 | function pf_h(pf) = pf_(pf,"h"); |
8 | module pushfit(pf,draft=draft) { | 9 | module 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") { |