omdl
v0.9.8
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_copy (files="diagrams/screw_socket_hex_button.svg" types="html,latex")
46
\amu_text
47
(
48
\image html ${PATH_NAME}/diagrams/screw_socket_hex_button.svg "parameters"
49
\image latex ${PATH_NAME}/diagrams/screw_socket_hex_button.svg "parameters"
50
)
51
52
\amu_define output_scad (false)
53
\amu_define output_console (false)
54
55
\amu_define title (Button head socket cap screws)
56
\amu_define notes_table ()
57
58
\amu_include (include/amu/scope_table.amu)
59
60
\note The measurements in the table above are shown with:
61
\c length_unit_base="mm". These measurements will
62
convert when the base units are changed. See \ref units_length
63
for more information on setting the base units.
64
65
| References: |
66
|:-------------------|
67
| ISO 7380 |
68
| DIN EN ISO 7380-1 |
69
| [fasteners.eu] |
70
71
[fasteners.eu]: https://www.fasteners.eu/standards/ISO/7380
72
*******************************************************************************/
73
74
//! <map> ISO 7380 data table columns map.
75
//! \hideinitializer
76
dtc_fastener_metric_screws_iso_7380
=
77
[
78
[
"ns"
,
"nominal size"
],
79
[
"tp"
,
"thread pitch"
],
80
[
"a_max"
,
"head diameter"
],
81
[
"a_min"
,
"head diameter"
],
82
[
"h_max"
,
"head height"
],
83
[
"h_min"
,
"head height"
],
84
[
"c_min"
,
"socket size across the corners"
],
85
[
"j_max"
,
"socket size across the flats"
],
86
[
"j_min"
,
"socket size across the flats"
],
87
[
"t_min"
,
"key engagement"
],
88
[
"w_min"
,
"wall thickness"
],
89
[
"s_max"
,
"unthreaded section under the head"
],
90
[
"s_min"
,
"unthreaded section under the head"
],
91
[
"f_max"
,
"fillet transition diameter"
]
92
];
93
94
//! <table> ISO 7380 data table rows.
95
//! \hideinitializer
96
dtr_fastener_metric_screws_iso_7380
=
97
[
98
[
"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)],
99
[
"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)],
100
[
"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)],
101
[
"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)],
102
[
"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)],
103
[
"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)],
104
[
"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)],
105
[
"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)]
106
];
107
108
//! @}
109
//! @}
110
111
//----------------------------------------------------------------------------//
112
// openscad-amu auxiliary scripts
113
//----------------------------------------------------------------------------//
114
115
/*
116
BEGIN_SCOPE table;
117
BEGIN_OPENSCAD;
118
include <omdl-base.scad>;
119
include <database/component/fastener/iso_7380.scad>;
120
121
// temporary override for table presentation.
122
// function l_mm(v) = round_s(length(v,"mm"), 4);
123
124
length_unit_base = "mm";
125
126
n = true; // number
127
hi = true; // include heading id
128
ht = true; // include heading description
129
130
tr = dtr_fastener_metric_screws_iso_7380;
131
tc = dtc_fastener_metric_screws_iso_7380;
132
133
table_write( tr, tc, number=n, heading_id=hi, heading_text=ht );
134
135
// end_include
136
END_OPENSCAD;
137
138
BEGIN_MFSCRIPT;
139
include --path "${INCLUDE_PATH}" {var_init,var_gen_term}.mfs;
140
include --path "${INCLUDE_PATH}" scr_make_mf.mfs;
141
END_MFSCRIPT;
142
END_SCOPE;
143
*/
144
145
//----------------------------------------------------------------------------//
146
// end of file
147
//----------------------------------------------------------------------------//
dtr_fastener_metric_screws_iso_7380
dtr_fastener_metric_screws_iso_7380
Definition:
iso_7380.scad:303
dtc_fastener_metric_screws_iso_7380
dtc_fastener_metric_screws_iso_7380
Definition:
iso_7380.scad:283
l_mm
function l_mm(v)
Shorthand length conversion for millimeters.
database
component
fastener
iso_7380.scad
Generated on Mon Mar 10 2025 14:12:21 for omdl by
doxygen
with
openscad-amu