omdl
v0.9.5
OpenSCAD Mechanical Design Library
iso_7380.scad
Go to the documentation of this file.
1
//! [metric/screws] Button head socket cap screws; ISO 7380; DIN EN ISO 7380-1.
2
/***************************************************************************/
/**
3
\file
4
\author Roy Allen Sutton
5
\date 2024
6
7
\copyright
8
9
This file is part of [omdl] (https://github.com/royasutton/omdl),
10
an OpenSCAD mechanical design library.
11
12
The \em omdl is free software; you can redistribute it and/or modify
13
it under the terms of the [GNU Lesser General Public License]
14
(http://www.gnu.org/licenses/lgpl.html) as published by the Free
15
Software Foundation; either version 2.1 of the License, or (at
16
your option) any later version.
17
18
The \em omdl is distributed in the hope that it will be useful,
19
but WITHOUT ANY WARRANTY; without even the implied warranty of
20
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21
Lesser General Public License for more details.
22
23
You should have received a copy of the GNU Lesser General Public
24
License along with the \em omdl; if not, write to the Free Software
25
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
26
02110-1301, USA; or see <http://www.gnu.org/licenses/>.
27
28
\details
29
30
\amu_define group_name (ISO 7380)
31
\amu_define group_brief ([metric/screws] Button head socket cap screws; ISO 7380; DIN EN ISO 7380-1.)
32
33
\amu_include (include/amu/pgid_path_pstem_pg.amu)
34
\amu_text parent (${parent}_Metric_Screws)
35
*******************************************************************************/
36
37
//----------------------------------------------------------------------------//
38
39
/***************************************************************************/
/**
40
\amu_include (include/amu/group_in_parent_start.amu)
41
\amu_include (include/amu/includes_required.amu)
42
43
\details
44
45
\amu_define output_scad (false)
46
\amu_define output_console (false)
47
48
\amu_define title (Button head socket cap screws)
49
\amu_define notes_table ()
50
51
\amu_include (include/amu/scope_table.amu)
52
53
\note The measurements in the table above are shown with:
54
\c length_unit_base="mm". These measurements will
55
convert when the base units are changed. See \ref units_length
56
for more information on setting the base units.
57
58
| References: |
59
|:-------------------|
60
| ISO 7380 |
61
| DIN EN ISO 7380-1 |
62
| [fasteners.eu] |
63
64
[fasteners.eu]: https://www.fasteners.eu/standards/ISO/7380
65
*******************************************************************************/
66
67
//! <map> ISO 7380 fastener data table columns map.
68
//! \hideinitializer
69
dtc_fastener_metric_screws_iso_7380
=
70
[
71
[
"ns"
,
"nominal size"
],
72
[
"tp"
,
"thread pitch"
],
73
[
"a_max"
,
"head diameter"
],
74
[
"a_min"
,
"head diameter"
],
75
[
"h_max"
,
"head height"
],
76
[
"h_min"
,
"head height"
],
77
[
"c_min"
,
"socket size across the corners"
],
78
[
"j_max"
,
"socket size across the flats"
],
79
[
"j_min"
,
"socket size across the flats"
],
80
[
"t_min"
,
"key engagement"
],
81
[
"w_min"
,
"wall thickness"
],
82
[
"s_max"
,
"unthreaded section under the head"
],
83
[
"s_min"
,
"unthreaded section under the head"
],
84
[
"f_max"
,
"fillet transition diameter"
]
85
];
86
87
//! <table> ISO 7380 fastener data table rows.
88
//! \hideinitializer
89
dtr_fastener_metric_screws_iso_7380
=
90
[
91
[
"M3"
,
l_mm
(0.50),
l_mm
( 5.70),
l_mm
( 5.40),
l_mm
(1.65),
l_mm
(1.40),
l_mm
( 2.30),
l_mm
( 2.045),
l_mm
( 2.020),
l_mm
(1.04),
l_mm
(0.20),
l_mm
(1.00),
l_mm
(0.50),
l_mm
( 3.6)],
92
[
"M4"
,
l_mm
(0.70),
l_mm
( 7.60),
l_mm
( 7.24),
l_mm
(2.20),
l_mm
(1.95),
l_mm
( 2.87),
l_mm
( 2.560),
l_mm
( 2.520),
l_mm
(1.30),
l_mm
(0.30),
l_mm
(1.40),
l_mm
(0.70),
l_mm
( 4.7)],
93
[
"M5"
,
l_mm
(0.80),
l_mm
( 9.50),
l_mm
( 9.14),
l_mm
(2.75),
l_mm
(2.50),
l_mm
( 3.44),
l_mm
( 3.071),
l_mm
( 3.020),
l_mm
(1.56),
l_mm
(0.38),
l_mm
(1.60),
l_mm
(0.80),
l_mm
( 5.7)],
94
[
"M6"
,
l_mm
(1.00),
l_mm
(10.50),
l_mm
(10.07),
l_mm
(3.30),
l_mm
(3.00),
l_mm
( 4.58),
l_mm
( 4.084),
l_mm
( 4.020),
l_mm
(2.08),
l_mm
(0.74),
l_mm
(2.00),
l_mm
(1.00),
l_mm
( 6.8)],
95
[
"M8"
,
l_mm
(1.25),
l_mm
(14.00),
l_mm
(13.57),
l_mm
(4.40),
l_mm
(4.10),
l_mm
( 5.72),
l_mm
( 5.084),
l_mm
( 5.020),
l_mm
(2.60),
l_mm
(1.05),
l_mm
(2.50),
l_mm
(1.25),
l_mm
( 9.2)],
96
[
"M10"
,
l_mm
(1.50),
l_mm
(17.50),
l_mm
(17.07),
l_mm
(5.50),
l_mm
(5.20),
l_mm
( 6.86),
l_mm
( 6.095),
l_mm
( 6.020),
l_mm
(3.12),
l_mm
(1.45),
l_mm
(3.00),
l_mm
(1.50),
l_mm
(11.2)],
97
[
"M12"
,
l_mm
(1.75),
l_mm
(21.00),
l_mm
(20.48),
l_mm
(6.60),
l_mm
(6.24),
l_mm
( 9.15),
l_mm
( 8.115),
l_mm
( 8.025),
l_mm
(4.16),
l_mm
(1.63),
l_mm
(3.50),
l_mm
(1.75),
l_mm
(14.2)],
98
[
"M16"
,
l_mm
(2.00),
l_mm
(28.00),
l_mm
(27.48),
l_mm
(8.80),
l_mm
(8.44),
l_mm
(11.43),
l_mm
(10.115),
l_mm
(10.025),
l_mm
(5.20),
l_mm
(2.25),
l_mm
(4.00),
l_mm
(2.00),
l_mm
(18.2)]
99
];
100
101
//! @}
102
//! @}
103
104
//----------------------------------------------------------------------------//
105
// openscad-amu auxiliary scripts
106
//----------------------------------------------------------------------------//
107
108
/*
109
BEGIN_SCOPE table;
110
BEGIN_OPENSCAD;
111
include <omdl-base.scad>;
112
include <database/component/fastener/iso_7380.scad>;
113
114
// temporary override for table presentation.
115
// function l_mm(v) = round_s(length(v,"mm"), 4);
116
117
length_unit_base = "mm";
118
119
n = true; // number
120
hi = true; // include heading id
121
ht = true; // include heading description
122
123
tr = dtr_fastener_metric_screws_iso_7380;
124
tc = dtc_fastener_metric_screws_iso_7380;
125
126
table_write( tr, tc, number=n, heading_id=hi, heading_text=ht );
127
128
// end_include
129
END_OPENSCAD;
130
131
BEGIN_MFSCRIPT;
132
include --path "${INCLUDE_PATH}" {var_init,var_gen_term}.mfs;
133
include --path "${INCLUDE_PATH}" scr_make_mf.mfs;
134
END_MFSCRIPT;
135
END_SCOPE;
136
*/
137
138
//----------------------------------------------------------------------------//
139
// end of file
140
//----------------------------------------------------------------------------//
dtr_fastener_metric_screws_iso_7380
dtr_fastener_metric_screws_iso_7380
Definition:
iso_7380.scad:293
dtc_fastener_metric_screws_iso_7380
dtc_fastener_metric_screws_iso_7380
Definition:
iso_7380.scad:273
l_mm
function l_mm(v)
Shorthand length conversion for millimeters.
database
component
fastener
iso_7380.scad
Generated on Thu Nov 14 2024 11:12:05 for omdl by
doxygen
with
openscad-amu