summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--multiswitch-metal.scad4
-rw-r--r--pushfit_data.scad7
2 files changed, 11 insertions, 0 deletions
diff --git a/multiswitch-metal.scad b/multiswitch-metal.scad
new file mode 100644
index 0000000..f736842
--- a/dev/null
+++ b/multiswitch-metal.scad
@@ -0,0 +1,4 @@
1use <multiswitch.scad>;
2include <pushfit_data.scad>;
3
4multiswitch(pf=pushfit_metal,inputs=inputs,debug=0);
diff --git a/pushfit_data.scad b/pushfit_data.scad
index c385088..3e9ea02 100644
--- a/pushfit_data.scad
+++ b/pushfit_data.scad
@@ -1,24 +1,31 @@
1pushfit_metal = [ ["type", "embeddest"],
2 ["d", 7], // outer diameter
3 ["id", 5.6], // inner diameter, the narrow passage
4 ["h", 6.8], // total height
5 ["h_legspace", 4], // the height of legspace
6 ["ch", 1] // inlet chamfer
7];
1pushfit_embeddest = [ ["type", "embeddest"], 8pushfit_embeddest = [ ["type", "embeddest"],
2 ["d", 8], // outer diameter of legspace 9 ["d", 8], // outer diameter of legspace
3 ["id", 6], // inner diameter, the narrow passage 10 ["id", 6], // inner diameter, the narrow passage
4 ["h", 7], // total height 11 ["h", 7], // total height
5 ["h_legspace", 3.2], // the height of legspace 12 ["h_legspace", 3.2], // the height of legspace
6 ["ch", 1] // inlet chamfer 13 ["ch", 1] // inlet chamfer
7]; 14];
8pushfit_embedded = [ ["type", "embedded"], 15pushfit_embedded = [ ["type", "embedded"],
9 ["d", 12], // outer diameter 16 ["d", 12], // outer diameter
10 ["h", 7 ], // total height 17 ["h", 7 ], // total height
11 ["h_ring", 4.7], // height of embedded pushfit ring 18 ["h_ring", 4.7], // height of embedded pushfit ring
12 ["d_insert", 8], // diameter of pushfit insert legs hole 19 ["d_insert", 8], // diameter of pushfit insert legs hole
13]; 20];
14pushfit_threaded = [ ["type", "threaded"], 21pushfit_threaded = [ ["type", "threaded"],
15 ["h", 10], // total height 22 ["h", 10], // total height
16 ["d", 25.4*3/8 ], // the diameter to return 23 ["d", 25.4*3/8 ], // the diameter to return
17 ["d_tolerance", 0.5], // the diameter tolerance 24 ["d_tolerance", 0.5], // the diameter tolerance
18 ["tpi", 28] // threads per inch 25 ["tpi", 28] // threads per inch
19]; 26];
20 27
21stock_pushfits = [ 28stock_pushfits = [
22 ["threaded", pushfit_threaded], 29 ["threaded", pushfit_threaded],
23 ["embedded", pushfit_embedded], 30 ["embedded", pushfit_embedded],
24 ["embeddest", pushfit_embeddest] 31 ["embeddest", pushfit_embeddest]