omdl  v0.9.5
OpenSCAD Mechanical Design Library
iso_4035.scad
Go to the documentation of this file.
1 //! [metric/nuts] Hexagon jam nut; ISO 4035; DIN 439 B, CSN 021403, UNI 5589, EU 24035.
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 4035)
31  \amu_define group_brief ([metric/nuts] Hexagon jam nut; ISO 4035; DIN 439 B, CSN 021403, UNI 5589, EU 24035.)
32 
33  \amu_include (include/amu/pgid_path_pstem_pg.amu)
34  \amu_text parent (${parent}_Metric_Nuts)
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/nut_hex_jam.svg" types="html,latex")
46  \amu_text
47  (
48  \image html ${PATH_NAME}/diagrams/nut_hex_jam.svg "parameters"
49  \image latex ${PATH_NAME}/diagrams/nut_hex_jam.svg "parameters"
50  )
51 
52  \amu_define output_scad (false)
53  \amu_define output_console (false)
54 
55  \amu_define title (Hexagon jam nut)
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 4035 |
68  | DIN 439 B, CSN 021403, UNI 5589, EU 24035 |
69  | [ISO 4035] |
70  | [fasterner.eu] |
71 
72  [ISO 4035]: https://www.iso.org/standard/61671.html
73  [fasterner.eu]: https://www.fasteners.eu/standards/ISO/4035/
74 *******************************************************************************/
75 
76 //! <map> ISO 4035 fastener data table columns map.
77 //! \hideinitializer
79 [
80  ["ns", "nominal size"],
81  ["tp", "thread pitch"],
82  ["f_max", "width across flats"],
83  ["f_min", "width across flats"],
84  ["g_min", "width across corners"],
85  ["h_hax", "thickness"],
86  ["h_min", "thickness"]
87 ];
88 
89 //! <table> ISO 4035 fastener data table rows.
90 //! \hideinitializer
92 [
93  ["M1.6",l_mm(0.35),l_mm( 3.2),l_mm( 3.02),l_mm( 3.41),l_mm( 1.00),l_mm( 0.75)],
94  [ "M2",l_mm(0.40),l_mm( 4.0),l_mm( 3.82),l_mm( 4.32),l_mm( 1.20),l_mm( 0.95)],
95  ["M2.5",l_mm(0.45),l_mm( 5.0),l_mm( 4.82),l_mm( 5.45),l_mm( 1.60),l_mm( 1.35)],
96  [ "M3",l_mm(0.50),l_mm( 5.5),l_mm( 5.32),l_mm( 6.01),l_mm( 1.80),l_mm( 1.55)],
97  [ "M4",l_mm(0.70),l_mm( 7.0),l_mm( 6.78),l_mm( 7.66),l_mm( 2.20),l_mm( 1.95)],
98  [ "M5",l_mm(0.80),l_mm( 8.0),l_mm( 7.78),l_mm( 8.79),l_mm( 2.70),l_mm( 2.45)],
99  [ "M6",l_mm(1.00),l_mm(10.0),l_mm( 9.78),l_mm(11.05),l_mm( 3.20),l_mm( 2.90)],
100  [ "M8",l_mm(1.25),l_mm(13.0),l_mm(12.73),l_mm(14.38),l_mm( 4.00),l_mm( 3.70)],
101  [ "M10",l_mm(1.50),l_mm(16.0),l_mm(15.73),l_mm(17.77),l_mm( 5.00),l_mm( 4.70)],
102  [ "M12",l_mm(1.75),l_mm(18.0),l_mm(17.73),l_mm(20.03),l_mm( 6.00),l_mm( 5.70)],
103  [ "M14",l_mm(2.00),l_mm(21.0),l_mm(20.67),l_mm(23.35),l_mm( 7.00),l_mm( 6.42)],
104  [ "M16",l_mm(2.00),l_mm(24.0),l_mm(23.67),l_mm(26.75),l_mm( 8.00),l_mm( 7.42)],
105  [ "M20",l_mm(2.50),l_mm(30.0),l_mm(29.16),l_mm(32.95),l_mm(10.00),l_mm( 9.10)],
106  [ "M24",l_mm(3.00),l_mm(36.0),l_mm(35.00),l_mm(39.55),l_mm(12.00),l_mm(10.90)],
107  [ "M30",l_mm(3.50),l_mm(46.0),l_mm(45.00),l_mm(50.85),l_mm(15.00),l_mm(13.90)],
108  [ "M36",l_mm(4.00),l_mm(55.0),l_mm(53.80),l_mm(60.79),l_mm(18.00),l_mm(16.90)],
109  [ "M42",l_mm(4.50),l_mm(65.0),l_mm(63.10),l_mm(71.30),l_mm(21.00),l_mm(19.70)],
110  [ "M48",l_mm(5.00),l_mm(75.0),l_mm(73.10),l_mm(82.60),l_mm(24.00),l_mm(22.70)]
111 ];
112 
113 //! @}
114 //! @}
115 
116 //----------------------------------------------------------------------------//
117 // openscad-amu auxiliary scripts
118 //----------------------------------------------------------------------------//
119 
120 /*
121 BEGIN_SCOPE table;
122  BEGIN_OPENSCAD;
123  include <omdl-base.scad>;
124  include <database/component/fastener/iso_4035.scad>;
125 
126  // temporary override for table presentation.
127  // function l_mm(v) = round_s(length(v,"mm"), 4);
128 
129  length_unit_base = "mm";
130 
131  n = true; // number
132  hi = true; // include heading id
133  ht = true; // include heading description
134 
135  tr = dtr_fastener_metric_nuts_iso_4035;
136  tc = dtc_fastener_metric_nuts_iso_4035;
137 
138  table_write( tr, tc, number=n, heading_id=hi, heading_text=ht );
139 
140  // end_include
141  END_OPENSCAD;
142 
143  BEGIN_MFSCRIPT;
144  include --path "${INCLUDE_PATH}" {var_init,var_gen_term}.mfs;
145  include --path "${INCLUDE_PATH}" scr_make_mf.mfs;
146  END_MFSCRIPT;
147 END_SCOPE;
148 */
149 
150 //----------------------------------------------------------------------------//
151 // end of file
152 //----------------------------------------------------------------------------//
dtc_fastener_metric_nuts_iso_4035
Definition: iso_4035.scad:285
dtr_fastener_metric_nuts_iso_4035
Definition: iso_4035.scad:298
function l_mm(v)
Shorthand length conversion for millimeters.