omdl  v0.9.5
OpenSCAD Mechanical Design Library
iso_4014b.scad
Go to the documentation of this file.
1 //! [metric/bolts] Hexagon head bolt b; ISO 4014b; DIN 931.
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 4014b)
31  \amu_define group_brief ([metric/bolts] Hexagon head bolt b; ISO 4014b; DIN 931.)
32 
33  \amu_include (include/amu/pgid_path_pstem_pg.amu)
34  \amu_text parent (${parent}_Metric_Bolts)
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 (Hexagon head bolt b)
49  \amu_define notes_table (r_1 for [L>125mm & L<200mm]; r_2 for [L>200mm])
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 4014b |
61  | DIN 931 |
62  | [ISO 4014] |
63  | [fasteners.eu] |
64 
65  [ISO 4014]: https://www.iso.org/standard/56447.html
66  [fasteners.eu]: https://www.fasteners.eu/standards/ISO/4014/
67 *******************************************************************************/
68 
69 //! <map> ISO 4014b fastener data table columns map.
70 //! \hideinitializer
72 [
73  ["ns", "nominal size"],
74  ["tp", "thread pitch"],
75  ["r_1", "thread length"],
76  ["r_2", "thread length"],
77  ["w_max", "washer face thickness"],
78  ["w_min", "washer face thickness"],
79  ["t_max", "fillet transition diameter"],
80  ["u_max", "underhead fillet"],
81  ["e_min", "washer face diameter"],
82  ["h_max", "head height"],
83  ["h_min", "head height"],
84  ["f_max", "width across flats"],
85  ["f_min", "width across flats"],
86  ["g_min", "width across corners"],
87  ["k_min", "wrenching height"]
88 ];
89 
90 //! <table> ISO 4014b fastener data table rows.
91 //! \hideinitializer
93 [
94  ["M16",l_mm(2.0),l_mm( 44), undef,l_mm(0.8),l_mm(0.2),l_mm(17.7),l_mm( 3),l_mm(22.00),l_mm(10.29),l_mm( 9.71),l_mm( 24),l_mm(23.16),l_mm( 26.17),l_mm( 6.80)],
95  ["M20",l_mm(2.5),l_mm( 52), undef,l_mm(0.8),l_mm(0.2),l_mm(22.4),l_mm( 4),l_mm(27.70),l_mm(12.85),l_mm(12.15),l_mm( 30),l_mm(29.16),l_mm( 32.95),l_mm( 8.51)],
96  ["M24",l_mm(3.0),l_mm( 60),l_mm( 73),l_mm(0.8),l_mm(0.2),l_mm(26.4),l_mm( 4),l_mm(33.25),l_mm(15.35),l_mm(14.65),l_mm( 36),l_mm(35.00),l_mm( 39.55),l_mm(10.26)],
97  ["M30",l_mm(3.5),l_mm( 72),l_mm( 85),l_mm(0.8),l_mm(0.2),l_mm(33.4),l_mm( 6),l_mm(42.75),l_mm(19.12),l_mm(18.28),l_mm( 46),l_mm(45.00),l_mm( 50.85),l_mm(12.80)],
98  ["M36",l_mm(4.0),l_mm( 84),l_mm( 97),l_mm(0.8),l_mm(0.2),l_mm(39.4),l_mm( 6),l_mm(51.11),l_mm(22.92),l_mm(22.08),l_mm( 55),l_mm(53.80),l_mm( 60.79),l_mm(15.46)],
99  ["M42",l_mm(4.5),l_mm( 96),l_mm( 109),l_mm(1.0),l_mm(0.3),l_mm(45.6),l_mm( 8),l_mm(59.95),l_mm(26.42),l_mm(25.58),l_mm( 65),l_mm(63.10),l_mm( 71.30),l_mm(17.91)],
100  ["M48",l_mm(5.0),l_mm( 108),l_mm( 121),l_mm(1.0),l_mm(0.3),l_mm(52.6),l_mm( 10),l_mm(69.45),l_mm(30.42),l_mm(29.58),l_mm( 75),l_mm(73.10),l_mm( 82.60),l_mm(20.71)],
101  ["M56",l_mm(5.5), undef,l_mm( 137),l_mm(1.0),l_mm(0.3),l_mm(63.0),l_mm( 12),l_mm(78.66),l_mm(35.50),l_mm(34.50),l_mm( 85),l_mm(82.80),l_mm( 93.56),l_mm(24.15)],
102  ["M64",l_mm(6.0), undef,l_mm( 153),l_mm(1.0),l_mm(0.3),l_mm(71.0),l_mm( 13),l_mm(88.16),l_mm(40.50),l_mm(39.50),l_mm( 95),l_mm(92.80),l_mm(104.86),l_mm(27.65)]
103 ];
104 
105 //! @}
106 //! @}
107 
108 //----------------------------------------------------------------------------//
109 // openscad-amu auxiliary scripts
110 //----------------------------------------------------------------------------//
111 
112 /*
113 BEGIN_SCOPE table;
114  BEGIN_OPENSCAD;
115  include <omdl-base.scad>;
116  include <database/component/fastener/iso_4014b.scad>;
117 
118  // temporary override for table presentation.
119  // function l_mm(v) = round_s(length(v,"mm"), 4);
120 
121  length_unit_base = "mm";
122 
123  n = true; // number
124  hi = true; // include heading id
125  ht = true; // include heading description
126 
127  tr = dtr_fastener_metric_bolts_iso_4014b;
128  tc = dtc_fastener_metric_bolts_iso_4014b;
129 
130  table_write( tr, tc, number=n, heading_id=hi, heading_text=ht );
131 
132  // end_include
133  END_OPENSCAD;
134 
135  BEGIN_MFSCRIPT;
136  include --path "${INCLUDE_PATH}" {var_init,var_gen_term}.mfs;
137  include --path "${INCLUDE_PATH}" scr_make_mf.mfs;
138  END_MFSCRIPT;
139 END_SCOPE;
140 */
141 
142 //----------------------------------------------------------------------------//
143 // end of file
144 //----------------------------------------------------------------------------//
dtc_fastener_metric_bolts_iso_4014b
Definition: iso_4014b.scad:275
dtr_fastener_metric_bolts_iso_4014b
Definition: iso_4014b.scad:296
function l_mm(v)
Shorthand length conversion for millimeters.