Sign in with STEVE

Compare versions

4 files changed, +567 −24

part.py +28 −10
@@ -1,19 +1,37 @@
1"""Parallel dowel pin (ISO 8734 style), plain cylinder with chamfered ends.
2Its axis is Z, from the origin up.
1"""Parallel pin (dowel pin), ISO 2338 (DIN 7), d 0.6 to 50 mm, any length.
32
4Material: hardened steel, ground (C60 from the material library, the closest it has to the standard's 100Cr6)."""
3A cylinder of the nominal diameter d and length l with an end chamfer c (ISO 2338 gives c as an approximate value;
4drawn here at 45 degrees) on both ends. One end face is on the XY plane at the origin, the pin along +Z.
5"""
56from steve import Model
67
7diameter = 4.0 # mm Nominal diameter
8length = 16 # mm Length
8diameter = 4 # mm Nominal diameter d
9length = 20 # mm Length l
10material = "steel" # Material
911
10chamfer = min(0.1 * diameter, 0.25 * length)
12# ISO 2338:1997 table (DIN EN ISO 2338:1998-02, https://www.fasten.it/en/Norms/Norm/DIN%20EN%20ISO%202338). d: c (approximate end chamfer)
13CHAMFERS = {
14 0.6: 0.12, 0.8: 0.16, 1: 0.2, 1.2: 0.25, 1.5: 0.3, 2: 0.35, 2.5: 0.4, 3: 0.5, 4: 0.63, 5: 0.8, 6: 1.2, 8: 1.6,
15 10: 2.0, 12: 2.5, 16: 3.0, 20: 3.5, 25: 4.0, 30: 5.0, 40: 6.3, 50: 8.0,
16}
17# material choice: (STEVE material library id, appearance colour)
18MATERIALS = {
19 "steel": ("steel-generic", "#b4b7bb"), # ISO 2338 steel (unhardened)
20 "stainless-a1": ("stainless-304", "#c9ccd0"), # austenitic stainless (A1)
21}
22
23if diameter not in CHAMFERS:
24 raise ValueError(f"ISO 2338 has no diameter {diameter} mm; diameters: {', '.join(str(k) for k in CHAMFERS)}")
25c = CHAMFERS[diameter]
26if length <= 2 * c:
27 raise ValueError(f"length must be more than twice the end chamfer ({2 * c} mm)")
28r = diameter / 2
29material_id, colour = MATERIALS[material]
1130
1231model = Model()
1332with model.sketch("profile", on="XZ", name="Profile") as sk:
14 sk.polyline("outline", [(0, 0), (diameter / 2 - chamfer, 0), (diameter / 2, chamfer), (diameter / 2, length - chamfer),
15 (diameter / 2 - chamfer, length), (0, length)])
16model.revolve("pin", "profile", axis="Z")
17model.material("steel-1c60", finish="polished") # hardened and ground steel
33 sk.polyline("outline", [(0, 0), (r - c, 0), (r, c), (r, length - c), (r - c, length), (0, length)])
34model.revolve("pin", "profile", axis="Z", name="Pin")
35model.material(material_id, color=colour)
1836result = model.result()
1937
pypart.toml +20 −14
@@ -1,27 +1,33 @@
11name = "steve/dowel-pin"
2version = "1.1.0"
2version = "2.0.0"
33runtime = "steve"
44license = "MIT"
5summary = "Parallel dowel pin with chamfered ends, any diameter and length."
6description = "Parallel dowel pin (ISO 8734 style), plain cylinder with chamfered ends.\nIts axis is Z, from the origin up.\n\nMaterial: hardened steel, ground (C60 from the material library, the closest it has to the standard's 100Cr6).\n\nDimensions from STEVE's standard-part tables (nominal values of the standard). Envelope geometry: no modelled thread."
7tags = ["pin", "dowel", "iso-8734"]
8changes = "Materials and finishes: each part is made of its standard's engineering material, with its usual finish."
5summary = "Parallel pin (dowel pin), ISO 2338 / DIN 7, d 0.6 to 50 mm, any length."
6description = """ISO 2338 (DIN 7) parallel pin: a cylinder of nominal diameter d and length l with the standard's end \
7chamfer c on both ends, with catalogue sizes as presets.
8
9One end face is on the XY plane at the origin and the pin points along +Z. Dimensions from ISO 2338 (see the \
10README)."""
11tags = ["pin", "dowel-pin", "parallel-pin", "iso-2338", "din-7", "metric"]
912
1013[parameters.diameter]
11type = "number"
12default = 4.0
13min = 1
14max = 25
15step = 0.5
16unit = "mm"
14type = "choice"
15default = 4
16choices = [0.6, 0.8, 1, 1.2, 1.5, 2, 2.5, 3, 4, 5, 6, 8, 10, 12, 16, 20, 25, 30, 40, 50]
1717label = "Diameter"
18description = "Nominal diameter d, mm."
1819
1920[parameters.length]
2021type = "number"
21default = 16
22min = 3
22default = 20
23min = 2
2324max = 200
24step = 1
2525unit = "mm"
2626label = "Length"
2727
28[parameters.material]
29type = "choice"
30default = "steel"
31choices = ["steel", "stainless-a1"]
32label = "Material"
33
presets.toml added in 2.0.0
@@ -1,0 +1,471 @@
1# Presets of this part (factory/PRESETS.md). Written by factory/gen.py.
2
3[[presets]]
4id = "2x6"
5title = "Ø2 × 6"
6params = { diameter = 2, length = 6 }
7aliases = ["ISO 2338 2x6", "DIN 7 2x6", "dowel pin 2x6", "d=2 mm, L=6 mm"]
8standard = "ISO 2338"
9
10[[presets]]
11id = "2x8"
12title = "Ø2 × 8"
13params = { diameter = 2, length = 8 }
14aliases = ["ISO 2338 2x8", "DIN 7 2x8", "dowel pin 2x8", "d=2 mm, L=8 mm"]
15standard = "ISO 2338"
16
17[[presets]]
18id = "2x10"
19title = "Ø2 × 10"
20params = { diameter = 2, length = 10 }
21aliases = ["ISO 2338 2x10", "DIN 7 2x10", "dowel pin 2x10", "d=2 mm, L=10 mm"]
22standard = "ISO 2338"
23
24[[presets]]
25id = "2x12"
26title = "Ø2 × 12"
27params = { diameter = 2, length = 12 }
28aliases = ["ISO 2338 2x12", "DIN 7 2x12", "dowel pin 2x12", "d=2 mm, L=12 mm"]
29standard = "ISO 2338"
30
31[[presets]]
32id = "2x16"
33title = "Ø2 × 16"
34params = { diameter = 2, length = 16 }
35aliases = ["ISO 2338 2x16", "DIN 7 2x16", "dowel pin 2x16", "d=2 mm, L=16 mm"]
36standard = "ISO 2338"
37
38[[presets]]
39id = "2x20"
40title = "Ø2 × 20"
41params = { diameter = 2, length = 20 }
42aliases = ["ISO 2338 2x20", "DIN 7 2x20", "dowel pin 2x20", "d=2 mm, L=20 mm"]
43standard = "ISO 2338"
44
45[[presets]]
46id = "2x25"
47title = "Ø2 × 25"
48params = { diameter = 2, length = 25 }
49aliases = ["ISO 2338 2x25", "DIN 7 2x25", "dowel pin 2x25", "d=2 mm, L=25 mm"]
50standard = "ISO 2338"
51
52[[presets]]
53id = "2x30"
54title = "Ø2 × 30"
55params = { diameter = 2, length = 30 }
56aliases = ["ISO 2338 2x30", "DIN 7 2x30", "dowel pin 2x30", "d=2 mm, L=30 mm"]
57standard = "ISO 2338"
58
59[[presets]]
60id = "2x40"
61title = "Ø2 × 40"
62params = { diameter = 2, length = 40 }
63aliases = ["ISO 2338 2x40", "DIN 7 2x40", "dowel pin 2x40", "d=2 mm, L=40 mm"]
64standard = "ISO 2338"
65
66[[presets]]
67id = "2x50"
68title = "Ø2 × 50"
69params = { diameter = 2, length = 50 }
70aliases = ["ISO 2338 2x50", "DIN 7 2x50", "dowel pin 2x50", "d=2 mm, L=50 mm"]
71standard = "ISO 2338"
72
73[[presets]]
74id = "2x60"
75title = "Ø2 × 60"
76params = { diameter = 2, length = 60 }
77aliases = ["ISO 2338 2x60", "DIN 7 2x60", "dowel pin 2x60", "d=2 mm, L=60 mm"]
78standard = "ISO 2338"
79
80[[presets]]
81id = "3x6"
82title = "Ø3 × 6"
83params = { diameter = 3, length = 6 }
84aliases = ["ISO 2338 3x6", "DIN 7 3x6", "dowel pin 3x6", "d=3 mm, L=6 mm"]
85standard = "ISO 2338"
86
87[[presets]]
88id = "3x8"
89title = "Ø3 × 8"
90params = { diameter = 3, length = 8 }
91aliases = ["ISO 2338 3x8", "DIN 7 3x8", "dowel pin 3x8", "d=3 mm, L=8 mm"]
92standard = "ISO 2338"
93
94[[presets]]
95id = "3x10"
96title = "Ø3 × 10"
97params = { diameter = 3, length = 10 }
98aliases = ["ISO 2338 3x10", "DIN 7 3x10", "dowel pin 3x10", "d=3 mm, L=10 mm"]
99standard = "ISO 2338"
100
101[[presets]]
102id = "3x12"
103title = "Ø3 × 12"
104params = { diameter = 3, length = 12 }
105aliases = ["ISO 2338 3x12", "DIN 7 3x12", "dowel pin 3x12", "d=3 mm, L=12 mm"]
106standard = "ISO 2338"
107
108[[presets]]
109id = "3x16"
110title = "Ø3 × 16"
111params = { diameter = 3, length = 16 }
112aliases = ["ISO 2338 3x16", "DIN 7 3x16", "dowel pin 3x16", "d=3 mm, L=16 mm"]
113standard = "ISO 2338"
114
115[[presets]]
116id = "3x20"
117title = "Ø3 × 20"
118params = { diameter = 3, length = 20 }
119aliases = ["ISO 2338 3x20", "DIN 7 3x20", "dowel pin 3x20", "d=3 mm, L=20 mm"]
120standard = "ISO 2338"
121
122[[presets]]
123id = "3x25"
124title = "Ø3 × 25"
125params = { diameter = 3, length = 25 }
126aliases = ["ISO 2338 3x25", "DIN 7 3x25", "dowel pin 3x25", "d=3 mm, L=25 mm"]
127standard = "ISO 2338"
128
129[[presets]]
130id = "3x30"
131title = "Ø3 × 30"
132params = { diameter = 3, length = 30 }
133aliases = ["ISO 2338 3x30", "DIN 7 3x30", "dowel pin 3x30", "d=3 mm, L=30 mm"]
134standard = "ISO 2338"
135
136[[presets]]
137id = "3x40"
138title = "Ø3 × 40"
139params = { diameter = 3, length = 40 }
140aliases = ["ISO 2338 3x40", "DIN 7 3x40", "dowel pin 3x40", "d=3 mm, L=40 mm"]
141standard = "ISO 2338"
142
143[[presets]]
144id = "3x50"
145title = "Ø3 × 50"
146params = { diameter = 3, length = 50 }
147aliases = ["ISO 2338 3x50", "DIN 7 3x50", "dowel pin 3x50", "d=3 mm, L=50 mm"]
148standard = "ISO 2338"
149
150[[presets]]
151id = "3x60"
152title = "Ø3 × 60"
153params = { diameter = 3, length = 60 }
154aliases = ["ISO 2338 3x60", "DIN 7 3x60", "dowel pin 3x60", "d=3 mm, L=60 mm"]
155standard = "ISO 2338"
156
157[[presets]]
158id = "4x8"
159title = "Ø4 × 8"
160params = { diameter = 4, length = 8 }
161aliases = ["ISO 2338 4x8", "DIN 7 4x8", "dowel pin 4x8", "d=4 mm, L=8 mm"]
162standard = "ISO 2338"
163
164[[presets]]
165id = "4x10"
166title = "Ø4 × 10"
167params = { diameter = 4, length = 10 }
168aliases = ["ISO 2338 4x10", "DIN 7 4x10", "dowel pin 4x10", "d=4 mm, L=10 mm"]
169standard = "ISO 2338"
170
171[[presets]]
172id = "4x12"
173title = "Ø4 × 12"
174params = { diameter = 4, length = 12 }
175aliases = ["ISO 2338 4x12", "DIN 7 4x12", "dowel pin 4x12", "d=4 mm, L=12 mm"]
176standard = "ISO 2338"
177
178[[presets]]
179id = "4x16"
180title = "Ø4 × 16"
181params = { diameter = 4, length = 16 }
182aliases = ["ISO 2338 4x16", "DIN 7 4x16", "dowel pin 4x16", "d=4 mm, L=16 mm"]
183standard = "ISO 2338"
184
185[[presets]]
186id = "4x20"
187title = "Ø4 × 20"
188params = { diameter = 4, length = 20 }
189aliases = ["ISO 2338 4x20", "DIN 7 4x20", "dowel pin 4x20", "d=4 mm, L=20 mm"]
190standard = "ISO 2338"
191
192[[presets]]
193id = "4x25"
194title = "Ø4 × 25"
195params = { diameter = 4, length = 25 }
196aliases = ["ISO 2338 4x25", "DIN 7 4x25", "dowel pin 4x25", "d=4 mm, L=25 mm"]
197standard = "ISO 2338"
198
199[[presets]]
200id = "4x30"
201title = "Ø4 × 30"
202params = { diameter = 4, length = 30 }
203aliases = ["ISO 2338 4x30", "DIN 7 4x30", "dowel pin 4x30", "d=4 mm, L=30 mm"]
204standard = "ISO 2338"
205
206[[presets]]
207id = "4x40"
208title = "Ø4 × 40"
209params = { diameter = 4, length = 40 }
210aliases = ["ISO 2338 4x40", "DIN 7 4x40", "dowel pin 4x40", "d=4 mm, L=40 mm"]
211standard = "ISO 2338"
212
213[[presets]]
214id = "4x50"
215title = "Ø4 × 50"
216params = { diameter = 4, length = 50 }
217aliases = ["ISO 2338 4x50", "DIN 7 4x50", "dowel pin 4x50", "d=4 mm, L=50 mm"]
218standard = "ISO 2338"
219
220[[presets]]
221id = "4x60"
222title = "Ø4 × 60"
223params = { diameter = 4, length = 60 }
224aliases = ["ISO 2338 4x60", "DIN 7 4x60", "dowel pin 4x60", "d=4 mm, L=60 mm"]
225standard = "ISO 2338"
226
227[[presets]]
228id = "5x10"
229title = "Ø5 × 10"
230params = { diameter = 5, length = 10 }
231aliases = ["ISO 2338 5x10", "DIN 7 5x10", "dowel pin 5x10", "d=5 mm, L=10 mm"]
232standard = "ISO 2338"
233
234[[presets]]
235id = "5x12"
236title = "Ø5 × 12"
237params = { diameter = 5, length = 12 }
238aliases = ["ISO 2338 5x12", "DIN 7 5x12", "dowel pin 5x12", "d=5 mm, L=12 mm"]
239standard = "ISO 2338"
240
241[[presets]]
242id = "5x16"
243title = "Ø5 × 16"
244params = { diameter = 5, length = 16 }
245aliases = ["ISO 2338 5x16", "DIN 7 5x16", "dowel pin 5x16", "d=5 mm, L=16 mm"]
246standard = "ISO 2338"
247
248[[presets]]
249id = "5x20"
250title = "Ø5 × 20"
251params = { diameter = 5, length = 20 }
252aliases = ["ISO 2338 5x20", "DIN 7 5x20", "dowel pin 5x20", "d=5 mm, L=20 mm"]
253standard = "ISO 2338"
254
255[[presets]]
256id = "5x25"
257title = "Ø5 × 25"
258params = { diameter = 5, length = 25 }
259aliases = ["ISO 2338 5x25", "DIN 7 5x25", "dowel pin 5x25", "d=5 mm, L=25 mm"]
260standard = "ISO 2338"
261
262[[presets]]
263id = "5x30"
264title = "Ø5 × 30"
265params = { diameter = 5, length = 30 }
266aliases = ["ISO 2338 5x30", "DIN 7 5x30", "dowel pin 5x30", "d=5 mm, L=30 mm"]
267standard = "ISO 2338"
268
269[[presets]]
270id = "5x40"
271title = "Ø5 × 40"
272params = { diameter = 5, length = 40 }
273aliases = ["ISO 2338 5x40", "DIN 7 5x40", "dowel pin 5x40", "d=5 mm, L=40 mm"]
274standard = "ISO 2338"
275
276[[presets]]
277id = "5x50"
278title = "Ø5 × 50"
279params = { diameter = 5, length = 50 }
280aliases = ["ISO 2338 5x50", "DIN 7 5x50", "dowel pin 5x50", "d=5 mm, L=50 mm"]
281standard = "ISO 2338"
282
283[[presets]]
284id = "5x60"
285title = "Ø5 × 60"
286params = { diameter = 5, length = 60 }
287aliases = ["ISO 2338 5x60", "DIN 7 5x60", "dowel pin 5x60", "d=5 mm, L=60 mm"]
288standard = "ISO 2338"
289
290[[presets]]
291id = "6x12"
292title = "Ø6 × 12"
293params = { diameter = 6, length = 12 }
294aliases = ["ISO 2338 6x12", "DIN 7 6x12", "dowel pin 6x12", "d=6 mm, L=12 mm"]
295standard = "ISO 2338"
296
297[[presets]]
298id = "6x16"
299title = "Ø6 × 16"
300params = { diameter = 6, length = 16 }
301aliases = ["ISO 2338 6x16", "DIN 7 6x16", "dowel pin 6x16", "d=6 mm, L=16 mm"]
302standard = "ISO 2338"
303
304[[presets]]
305id = "6x20"
306title = "Ø6 × 20"
307params = { diameter = 6, length = 20 }
308aliases = ["ISO 2338 6x20", "DIN 7 6x20", "dowel pin 6x20", "d=6 mm, L=20 mm"]
309standard = "ISO 2338"
310
311[[presets]]
312id = "6x25"
313title = "Ø6 × 25"
314params = { diameter = 6, length = 25 }
315aliases = ["ISO 2338 6x25", "DIN 7 6x25", "dowel pin 6x25", "d=6 mm, L=25 mm"]
316standard = "ISO 2338"
317
318[[presets]]
319id = "6x30"
320title = "Ø6 × 30"
321params = { diameter = 6, length = 30 }
322aliases = ["ISO 2338 6x30", "DIN 7 6x30", "dowel pin 6x30", "d=6 mm, L=30 mm"]
323standard = "ISO 2338"
324
325[[presets]]
326id = "6x40"
327title = "Ø6 × 40"
328params = { diameter = 6, length = 40 }
329aliases = ["ISO 2338 6x40", "DIN 7 6x40", "dowel pin 6x40", "d=6 mm, L=40 mm"]
330standard = "ISO 2338"
331
332[[presets]]
333id = "6x50"
334title = "Ø6 × 50"
335params = { diameter = 6, length = 50 }
336aliases = ["ISO 2338 6x50", "DIN 7 6x50", "dowel pin 6x50", "d=6 mm, L=50 mm"]
337standard = "ISO 2338"
338
339[[presets]]
340id = "6x60"
341title = "Ø6 × 60"
342params = { diameter = 6, length = 60 }
343aliases = ["ISO 2338 6x60", "DIN 7 6x60", "dowel pin 6x60", "d=6 mm, L=60 mm"]
344standard = "ISO 2338"
345
346[[presets]]
347id = "8x16"
348title = "Ø8 × 16"
349params = { diameter = 8, length = 16 }
350aliases = ["ISO 2338 8x16", "DIN 7 8x16", "dowel pin 8x16", "d=8 mm, L=16 mm"]
351standard = "ISO 2338"
352
353[[presets]]
354id = "8x20"
355title = "Ø8 × 20"
356params = { diameter = 8, length = 20 }
357aliases = ["ISO 2338 8x20", "DIN 7 8x20", "dowel pin 8x20", "d=8 mm, L=20 mm"]
358standard = "ISO 2338"
359
360[[presets]]
361id = "8x25"
362title = "Ø8 × 25"
363params = { diameter = 8, length = 25 }
364aliases = ["ISO 2338 8x25", "DIN 7 8x25", "dowel pin 8x25", "d=8 mm, L=25 mm"]
365standard = "ISO 2338"
366
367[[presets]]
368id = "8x30"
369title = "Ø8 × 30"
370params = { diameter = 8, length = 30 }
371aliases = ["ISO 2338 8x30", "DIN 7 8x30", "dowel pin 8x30", "d=8 mm, L=30 mm"]
372standard = "ISO 2338"
373
374[[presets]]
375id = "8x40"
376title = "Ø8 × 40"
377params = { diameter = 8, length = 40 }
378aliases = ["ISO 2338 8x40", "DIN 7 8x40", "dowel pin 8x40", "d=8 mm, L=40 mm"]
379standard = "ISO 2338"
380
381[[presets]]
382id = "8x50"
383title = "Ø8 × 50"
384params = { diameter = 8, length = 50 }
385aliases = ["ISO 2338 8x50", "DIN 7 8x50", "dowel pin 8x50", "d=8 mm, L=50 mm"]
386standard = "ISO 2338"
387
388[[presets]]
389id = "8x60"
390title = "Ø8 × 60"
391params = { diameter = 8, length = 60 }
392aliases = ["ISO 2338 8x60", "DIN 7 8x60", "dowel pin 8x60", "d=8 mm, L=60 mm"]
393standard = "ISO 2338"
394
395[[presets]]
396id = "10x20"
397title = "Ø10 × 20"
398params = { diameter = 10, length = 20 }
399aliases = ["ISO 2338 10x20", "DIN 7 10x20", "dowel pin 10x20", "d=10 mm, L=20 mm"]
400standard = "ISO 2338"
401
402[[presets]]
403id = "10x25"
404title = "Ø10 × 25"
405params = { diameter = 10, length = 25 }
406aliases = ["ISO 2338 10x25", "DIN 7 10x25", "dowel pin 10x25", "d=10 mm, L=25 mm"]
407standard = "ISO 2338"
408
409[[presets]]
410id = "10x30"
411title = "Ø10 × 30"
412params = { diameter = 10, length = 30 }
413aliases = ["ISO 2338 10x30", "DIN 7 10x30", "dowel pin 10x30", "d=10 mm, L=30 mm"]
414standard = "ISO 2338"
415
416[[presets]]
417id = "10x40"
418title = "Ø10 × 40"
419params = { diameter = 10, length = 40 }
420aliases = ["ISO 2338 10x40", "DIN 7 10x40", "dowel pin 10x40", "d=10 mm, L=40 mm"]
421standard = "ISO 2338"
422
423[[presets]]
424id = "10x50"
425title = "Ø10 × 50"
426params = { diameter = 10, length = 50 }
427aliases = ["ISO 2338 10x50", "DIN 7 10x50", "dowel pin 10x50", "d=10 mm, L=50 mm"]
428standard = "ISO 2338"
429
430[[presets]]
431id = "10x60"
432title = "Ø10 × 60"
433params = { diameter = 10, length = 60 }
434aliases = ["ISO 2338 10x60", "DIN 7 10x60", "dowel pin 10x60", "d=10 mm, L=60 mm"]
435standard = "ISO 2338"
436
437[[presets]]
438id = "12x25"
439title = "Ø12 × 25"
440params = { diameter = 12, length = 25 }
441aliases = ["ISO 2338 12x25", "DIN 7 12x25", "dowel pin 12x25", "d=12 mm, L=25 mm"]
442standard = "ISO 2338"
443
444[[presets]]
445id = "12x30"
446title = "Ø12 × 30"
447params = { diameter = 12, length = 30 }
448aliases = ["ISO 2338 12x30", "DIN 7 12x30", "dowel pin 12x30", "d=12 mm, L=30 mm"]
449standard = "ISO 2338"
450
451[[presets]]
452id = "12x40"
453title = "Ø12 × 40"
454params = { diameter = 12, length = 40 }
455aliases = ["ISO 2338 12x40", "DIN 7 12x40", "dowel pin 12x40", "d=12 mm, L=40 mm"]
456standard = "ISO 2338"
457
458[[presets]]
459id = "12x50"
460title = "Ø12 × 50"
461params = { diameter = 12, length = 50 }
462aliases = ["ISO 2338 12x50", "DIN 7 12x50", "dowel pin 12x50", "d=12 mm, L=50 mm"]
463standard = "ISO 2338"
464
465[[presets]]
466id = "12x60"
467title = "Ø12 × 60"
468params = { diameter = 12, length = 60 }
469aliases = ["ISO 2338 12x60", "DIN 7 12x60", "dowel pin 12x60", "d=12 mm, L=60 mm"]
470standard = "ISO 2338"
471
README.md added in 2.0.0
@@ -1,0 +1,48 @@
1# Dowel pin (ISO 2338 / DIN 7)
2
3Parallel pin of unhardened steel or austenitic stainless steel, d 0.6 to 50 mm, any length, with catalogue sizes as
4presets (4 × 20, 6 × 30, ...).
5
6## Geometry
7
8A cylinder of the nominal diameter **d** and length **l** with the end chamfer **c** on both ends. ISO 2338 gives c
9as an approximate value; it is drawn at 45°. One end face is on the XY plane at the origin, the pin along +Z.
10
11## Parameters
12
13| Parameter | Meaning |
14|---|---|
15| `diameter` | Nominal diameter d, mm (0.6 to 50) |
16| `length` | Length l, mm |
17| `material` | `steel` (unhardened), `stainless-a1` (austenitic stainless) |
18
19## Source
20
21ISO 2338:1997 (DIN EN ISO 2338:1998), *Parallel pins, of unhardened steel and austenitic stainless steel*,
22dimension table: d and c ≈ (mm), read from the reproduction on fasten.it ("reproduced by permission of DIN", <https://www.fasten.it/en/Norms/Norm/DIN%20EN%20ISO%202338>).
23
24| d | c |
25|---|---|
26| 0.6 | 0.12 |
27| 0.8 | 0.16 |
28| 1 | 0.2 |
29| 1.2 | 0.25 |
30| 1.5 | 0.3 |
31| 2 | 0.35 |
32| 2.5 | 0.4 |
33| 3 | 0.5 |
34| 4 | 0.63 |
35| 5 | 0.8 |
36| 6 | 1.2 |
37| 8 | 1.6 |
38| 10 | 2 |
39| 12 | 2.5 |
40| 16 | 3 |
41| 20 | 3.5 |
42| 25 | 4 |
43| 30 | 5 |
44| 40 | 6.3 |
45| 50 | 8 |
46
47Preset list: sizes of the step.parts catalogue (MIT), see `library/NOTICE.md`. The catalogue's 4 mm pin with an M3 set-screw thread is not an ISO 2338 pin and has no preset.
48