steve/inch-specialty-nut
Inch lock, flange and acorn nuts: nylon-insert and all-metal (ASME B18.16.6), hex flange (ASME B18.2.2), acorn (SAE J483).
Hex, jam and square nuts, inch, ASME B18.2.2: machine screw nuts #0 to #10, hex, jam and square nuts 1/4 to 1/2 in.
| 1 | """Nut, inch series, Unified threads #0-80 to 1/2-20, ASME B18.2.2: hex and square nuts (machine screw nuts for #0 to |
| 2 | #10, hex and square nuts for 1/4 to 1/2 in) and hex jam nuts (1/4 to 1/2 in). |
| 3 | |
| 4 | Envelope model for assemblies: a hexagonal or square prism (width across flats F, thickness H; corner chamfers not |
| 5 | modelled) with a plain bore at the basic major diameter D of ASME B1.1 (the thread is not modelled). It sits on the |
| 6 | XY plane, centred on the origin, axis along +Z. The model is in millimetres (1 in = 25.4 mm). |
| 7 | """ |
| 8 | from steve import Model |
| 9 | |
| 10 | size = "1/4-20" # Thread (Unified, ASME B1.1) |
| 11 | style = "hex" # Nut style |
| 12 | material = "steel" # Material |
| 13 | |
| 14 | # Thread designation: nominal size |
| 15 | THREADS = { |
| 16 | "#0-80": "#0", "#1-64": "#1", "#1-72": "#1", "#2-56": "#2", "#2-64": "#2", "#3-48": "#3", "#3-56": "#3", |
| 17 | "#4-40": "#4", "#4-48": "#4", "#5-40": "#5", "#5-44": "#5", "#6-32": "#6", "#6-40": "#6", "#8-32": "#8", |
| 18 | "#8-36": "#8", "#10-24": "#10", "#10-32": "#10", "1/4-20": "1/4", "1/4-28": "1/4", "5/16-18": "5/16", |
| 19 | "5/16-24": "5/16", "3/8-16": "3/8", "3/8-24": "3/8", "7/16-14": "7/16", "7/16-20": "7/16", "1/2-13": "1/2", |
| 20 | "1/2-20": "1/2", |
| 21 | } |
| 22 | # Inches. ASME B1.1-1989 (R2001) basic major diameter D, https://www.engineersedge.com/screw_threads_chart.htm |
| 23 | DIAMETERS = { |
| 24 | "#0": 0.0600, "#1": 0.0730, "#2": 0.0860, "#3": 0.0990, "#4": 0.1120, "#5": 0.1250, "#6": 0.1380, |
| 25 | "#8": 0.1640, "#10": 0.1900, "1/4": 0.2500, "5/16": 0.3125, "3/8": 0.3750, "7/16": 0.4375, "1/2": 0.5000, |
| 26 | } |
| 27 | # Inches, style: {nominal: (width across flats F, thickness H)}. |
| 28 | # #0 to #10: ASME B18.2.2 square and hex machine screw nuts (Table 1-1 of the 2010 edition, Table 1.1.1-1 of 2022): |
| 29 | # F basic and H max (the table gives thickness as min / max only), https://www.fasten.it/Norms/Norm/ASME_B18.2.2_TABLE_1-1 |
| 30 | # (2010), also https://www.engineersedge.com/hardware/hexagon_machine_screw_nuts_14062.htm (F basic as fractions). |
| 31 | # 1/4 to 1/2: ASME B18.2.2 hex nuts, hex jam nuts and square nuts, F basic and H basic, |
| 32 | # https://www.engineersedge.com/hex_nut.htm, https://amesweb.info/Fasteners/Nut/Hex-Nut-Sizes-Dimensions-Table.aspx, |
| 33 | # https://www.aftfasteners.com/hex-jam-nuts-dimensions-technical-information/, |
| 34 | # https://amesweb.info/Fasteners/Nut/Square-Nuts-Dimensions.aspx (B18.2.2-2010 via Machinery's Handbook 30th ed.). |
| 35 | NUTS = { |
| 36 | "hex": { |
| 37 | "#0": (0.15625, 0.050), "#1": (0.15625, 0.050), "#2": (0.1875, 0.066), "#3": (0.1875, 0.066), |
| 38 | "#4": (0.25, 0.098), "#5": (0.3125, 0.114), "#6": (0.3125, 0.114), "#8": (0.34375, 0.130), |
| 39 | "#10": (0.375, 0.130), "1/4": (0.4375, 0.21875), "5/16": (0.5, 0.265625), "3/8": (0.5625, 0.328125), |
| 40 | "7/16": (0.6875, 0.375), "1/2": (0.75, 0.4375), |
| 41 | }, |
| 42 | "jam": { |
| 43 | "1/4": (0.4375, 0.15625), "5/16": (0.5, 0.1875), "3/8": (0.5625, 0.21875), "7/16": (0.6875, 0.25), |
| 44 | "1/2": (0.75, 0.3125), |
| 45 | }, |
| 46 | "square": { |
| 47 | "#0": (0.15625, 0.050), "#1": (0.15625, 0.050), "#2": (0.1875, 0.066), "#3": (0.1875, 0.066), |
| 48 | "#4": (0.25, 0.098), "#5": (0.3125, 0.114), "#6": (0.3125, 0.114), "#8": (0.34375, 0.130), |
| 49 | "#10": (0.375, 0.130), "1/4": (0.4375, 0.21875), "5/16": (0.5625, 0.265625), "3/8": (0.625, 0.328125), |
| 50 | "7/16": (0.75, 0.375), "1/2": (0.8125, 0.4375), |
| 51 | }, |
| 52 | } |
| 53 | # material choice: (STEVE material library id, appearance colour) |
| 54 | MATERIALS = { |
| 55 | "steel": ("steel-generic", "#b8bcc2"), # carbon steel, zinc plated |
| 56 | "stainless-18-8": ("stainless-304", "#c9ccd0"), |
| 57 | "stainless-316": ("stainless-316", "#c9ccd0"), |
| 58 | } |
| 59 | # style: (polygon sides, rotation in degrees): hexagon corners on X, square sides parallel to X and Y |
| 60 | SHAPES = {"hex": (6, 0), "jam": (6, 0), "square": (4, 45)} |
| 61 | INCH = 25.4 |
| 62 | |
| 63 | nominal = THREADS[size] |
| 64 | F, H = NUTS[style][nominal] |
| 65 | d = DIAMETERS[nominal] * INCH |
| 66 | s = F * INCH |
| 67 | m = H * INCH |
| 68 | sides, turn = SHAPES[style] |
| 69 | material_id, colour = MATERIALS[material] |
| 70 | |
| 71 | model = Model() |
| 72 | with model.sketch("nut_sketch", on="XY", name="Nut") as sk: |
| 73 | sk.polygon("outline", (0, 0), s / 2, sides, inscribed=False, rotation=turn) |
| 74 | sk.circle("bore", (0, 0), d / 2) |
| 75 | model.extrude("nut", "nut_sketch", distance=m, name="Nut") |
| 76 | model.material(material_id, color=colour) |
| 77 | result = model.result() |
| 78 |
| 1 | name = "steve/inch-nut" |
| 2 | version = "1.0.0" |
| 3 | runtime = "steve" |
| 4 | license = "MIT" |
| 5 | summary = "Hex, jam and square nuts, inch, ASME B18.2.2: machine screw nuts #0 to #10, hex, jam and square nuts 1/4 to 1/2 in." |
| 6 | description = """Nut for Unified inch threads: hex nuts and square nuts to ASME B18.2.2 (machine screw nuts for #0 to #10, \ |
| 7 | hex and square nuts for 1/4 to 1/2 in) and hex jam nuts (1/4 to 1/2 in only). Envelope geometry for assemblies: a hexagonal or square prism (width across flats F, thickness H; \ |
| 8 | corner chamfers not modelled) with a plain bore at the ASME B1.1 basic major diameter; the thread itself is not \ |
| 9 | modelled. |
| 10 | |
| 11 | It sits on the XY plane, centred on the origin (the model is in millimetres). Dimensions: see the README.""" |
| 12 | tags = ["fastener", "nut", "hex-nut", "jam-nut", "square-nut", "asme-b18-2-2", "inch"] |
| 13 | |
| 14 | [parameters.size] |
| 15 | type = "choice" |
| 16 | default = "1/4-20" |
| 17 | choices = ["#0-80", "#1-64", "#1-72", "#2-56", "#2-64", "#3-48", "#3-56", "#4-40", "#4-48", "#5-40", "#5-44", "#6-32", "#6-40", "#8-32", "#8-36", "#10-24", "#10-32", "1/4-20", "1/4-28", "5/16-18", "5/16-24", "3/8-16", "3/8-24", "7/16-14", "7/16-20", "1/2-13", "1/2-20"] |
| 18 | label = "Thread" |
| 19 | |
| 20 | [parameters.style] |
| 21 | type = "choice" |
| 22 | default = "hex" |
| 23 | choices = ["hex", "jam", "square"] |
| 24 | label = "Style" |
| 25 | description = "hex, jam (1/4 in and up) or square." |
| 26 | |
| 27 | [parameters.material] |
| 28 | type = "choice" |
| 29 | default = "steel" |
| 30 | choices = ["steel", "stainless-18-8", "stainless-316"] |
| 31 | label = "Material" |
| 32 | description = "steel: carbon steel, zinc plated; stainless-18-8 (304) or stainless-316." |
| 33 |
| 1 | # Presets of this part (factory/PRESETS.md). Written by factory/gen.py. |
| 2 | |
| 3 | [[presets]] |
| 4 | id = "hex-0-80" |
| 5 | title = "#0-80 hex nut" |
| 6 | params = { size = "#0-80", style = "hex" } |
| 7 | aliases = ["#0-80 hex nut", "ASME B18.2.2 #0-80 hex nut", "machine screw nut #0-80"] |
| 8 | standard = "ASME B18.2.2" |
| 9 | |
| 10 | [[presets]] |
| 11 | id = "hex-2-56" |
| 12 | title = "#2-56 hex nut" |
| 13 | params = { size = "#2-56", style = "hex" } |
| 14 | aliases = ["#2-56 hex nut", "ASME B18.2.2 #2-56 hex nut", "machine screw nut #2-56"] |
| 15 | standard = "ASME B18.2.2" |
| 16 | |
| 17 | [[presets]] |
| 18 | id = "hex-4-40" |
| 19 | title = "#4-40 hex nut" |
| 20 | params = { size = "#4-40", style = "hex" } |
| 21 | aliases = ["#4-40 hex nut", "ASME B18.2.2 #4-40 hex nut", "machine screw nut #4-40", "Nut 4-40"] |
| 22 | standard = "ASME B18.2.2" |
| 23 | |
| 24 | [[presets]] |
| 25 | id = "hex-6-32" |
| 26 | title = "#6-32 hex nut" |
| 27 | params = { size = "#6-32", style = "hex" } |
| 28 | aliases = ["#6-32 hex nut", "ASME B18.2.2 #6-32 hex nut", "machine screw nut #6-32"] |
| 29 | standard = "ASME B18.2.2" |
| 30 | |
| 31 | [[presets]] |
| 32 | id = "hex-8-32" |
| 33 | title = "#8-32 hex nut" |
| 34 | params = { size = "#8-32", style = "hex" } |
| 35 | aliases = ["#8-32 hex nut", "ASME B18.2.2 #8-32 hex nut", "machine screw nut #8-32"] |
| 36 | standard = "ASME B18.2.2" |
| 37 | |
| 38 | [[presets]] |
| 39 | id = "hex-10-24" |
| 40 | title = "#10-24 hex nut" |
| 41 | params = { size = "#10-24", style = "hex" } |
| 42 | aliases = ["#10-24 hex nut", "ASME B18.2.2 #10-24 hex nut", "machine screw nut #10-24"] |
| 43 | standard = "ASME B18.2.2" |
| 44 | |
| 45 | [[presets]] |
| 46 | id = "hex-10-32" |
| 47 | title = "#10-32 hex nut" |
| 48 | params = { size = "#10-32", style = "hex" } |
| 49 | aliases = ["#10-32 hex nut", "ASME B18.2.2 #10-32 hex nut", "machine screw nut #10-32"] |
| 50 | standard = "ASME B18.2.2" |
| 51 | |
| 52 | [[presets]] |
| 53 | id = "hex-1-4-20" |
| 54 | title = "1/4-20 hex nut" |
| 55 | params = { size = "1/4-20", style = "hex" } |
| 56 | aliases = ["1/4-20 hex nut", "ASME B18.2.2 1/4-20 hex nut", "ANSI-ASME-B18.2.2 Hex Nut 1 4-20"] |
| 57 | standard = "ASME B18.2.2" |
| 58 | |
| 59 | [[presets]] |
| 60 | id = "hex-1-4-28" |
| 61 | title = "1/4-28 hex nut" |
| 62 | params = { size = "1/4-28", style = "hex" } |
| 63 | aliases = ["1/4-28 hex nut", "ASME B18.2.2 1/4-28 hex nut"] |
| 64 | standard = "ASME B18.2.2" |
| 65 | |
| 66 | [[presets]] |
| 67 | id = "hex-5-16-18" |
| 68 | title = "5/16-18 hex nut" |
| 69 | params = { size = "5/16-18", style = "hex" } |
| 70 | aliases = ["5/16-18 hex nut", "ASME B18.2.2 5/16-18 hex nut"] |
| 71 | standard = "ASME B18.2.2" |
| 72 | |
| 73 | [[presets]] |
| 74 | id = "hex-5-16-24" |
| 75 | title = "5/16-24 hex nut" |
| 76 | params = { size = "5/16-24", style = "hex" } |
| 77 | aliases = ["5/16-24 hex nut", "ASME B18.2.2 5/16-24 hex nut"] |
| 78 | standard = "ASME B18.2.2" |
| 79 | |
| 80 | [[presets]] |
| 81 | id = "hex-3-8-16" |
| 82 | title = "3/8-16 hex nut" |
| 83 | params = { size = "3/8-16", style = "hex" } |
| 84 | aliases = ["3/8-16 hex nut", "ASME B18.2.2 3/8-16 hex nut"] |
| 85 | standard = "ASME B18.2.2" |
| 86 | |
| 87 | [[presets]] |
| 88 | id = "hex-3-8-24" |
| 89 | title = "3/8-24 hex nut" |
| 90 | params = { size = "3/8-24", style = "hex" } |
| 91 | aliases = ["3/8-24 hex nut", "ASME B18.2.2 3/8-24 hex nut"] |
| 92 | standard = "ASME B18.2.2" |
| 93 | |
| 94 | [[presets]] |
| 95 | id = "hex-1-2-13" |
| 96 | title = "1/2-13 hex nut" |
| 97 | params = { size = "1/2-13", style = "hex" } |
| 98 | aliases = ["1/2-13 hex nut", "ASME B18.2.2 1/2-13 hex nut"] |
| 99 | standard = "ASME B18.2.2" |
| 100 | |
| 101 | [[presets]] |
| 102 | id = "hex-1-2-20" |
| 103 | title = "1/2-20 hex nut" |
| 104 | params = { size = "1/2-20", style = "hex" } |
| 105 | aliases = ["1/2-20 hex nut", "ASME B18.2.2 1/2-20 hex nut"] |
| 106 | standard = "ASME B18.2.2" |
| 107 | |
| 108 | [[presets]] |
| 109 | id = "jam-1-4-20" |
| 110 | title = "1/4-20 hex jam nut" |
| 111 | params = { size = "1/4-20", style = "jam" } |
| 112 | aliases = ["1/4-20 hex jam nut", "ASME B18.2.2 1/4-20 hex jam nut"] |
| 113 | standard = "ASME B18.2.2" |
| 114 | |
| 115 | [[presets]] |
| 116 | id = "jam-1-4-28" |
| 117 | title = "1/4-28 hex jam nut" |
| 118 | params = { size = "1/4-28", style = "jam" } |
| 119 | aliases = ["1/4-28 hex jam nut", "ASME B18.2.2 1/4-28 hex jam nut"] |
| 120 | standard = "ASME B18.2.2" |
| 121 | |
| 122 | [[presets]] |
| 123 | id = "jam-5-16-18" |
| 124 | title = "5/16-18 hex jam nut" |
| 125 | params = { size = "5/16-18", style = "jam" } |
| 126 | aliases = ["5/16-18 hex jam nut", "ASME B18.2.2 5/16-18 hex jam nut"] |
| 127 | standard = "ASME B18.2.2" |
| 128 | |
| 129 | [[presets]] |
| 130 | id = "jam-5-16-24" |
| 131 | title = "5/16-24 hex jam nut" |
| 132 | params = { size = "5/16-24", style = "jam" } |
| 133 | aliases = ["5/16-24 hex jam nut", "ASME B18.2.2 5/16-24 hex jam nut"] |
| 134 | standard = "ASME B18.2.2" |
| 135 | |
| 136 | [[presets]] |
| 137 | id = "jam-3-8-16" |
| 138 | title = "3/8-16 hex jam nut" |
| 139 | params = { size = "3/8-16", style = "jam" } |
| 140 | aliases = ["3/8-16 hex jam nut", "ASME B18.2.2 3/8-16 hex jam nut"] |
| 141 | standard = "ASME B18.2.2" |
| 142 | |
| 143 | [[presets]] |
| 144 | id = "jam-3-8-24" |
| 145 | title = "3/8-24 hex jam nut" |
| 146 | params = { size = "3/8-24", style = "jam" } |
| 147 | aliases = ["3/8-24 hex jam nut", "ASME B18.2.2 3/8-24 hex jam nut"] |
| 148 | standard = "ASME B18.2.2" |
| 149 | |
| 150 | [[presets]] |
| 151 | id = "jam-1-2-13" |
| 152 | title = "1/2-13 hex jam nut" |
| 153 | params = { size = "1/2-13", style = "jam" } |
| 154 | aliases = ["1/2-13 hex jam nut", "ASME B18.2.2 1/2-13 hex jam nut"] |
| 155 | standard = "ASME B18.2.2" |
| 156 | |
| 157 | [[presets]] |
| 158 | id = "jam-1-2-20" |
| 159 | title = "1/2-20 hex jam nut" |
| 160 | params = { size = "1/2-20", style = "jam" } |
| 161 | aliases = ["1/2-20 hex jam nut", "ASME B18.2.2 1/2-20 hex jam nut"] |
| 162 | standard = "ASME B18.2.2" |
| 163 | |
| 164 | [[presets]] |
| 165 | id = "square-0-80" |
| 166 | title = "#0-80 square nut" |
| 167 | params = { size = "#0-80", style = "square" } |
| 168 | aliases = ["#0-80 square nut", "ASME B18.2.2 #0-80 square nut", "machine screw nut #0-80"] |
| 169 | standard = "ASME B18.2.2" |
| 170 | |
| 171 | [[presets]] |
| 172 | id = "square-2-56" |
| 173 | title = "#2-56 square nut" |
| 174 | params = { size = "#2-56", style = "square" } |
| 175 | aliases = ["#2-56 square nut", "ASME B18.2.2 #2-56 square nut", "machine screw nut #2-56"] |
| 176 | standard = "ASME B18.2.2" |
| 177 | |
| 178 | [[presets]] |
| 179 | id = "square-4-40" |
| 180 | title = "#4-40 square nut" |
| 181 | params = { size = "#4-40", style = "square" } |
| 182 | aliases = ["#4-40 square nut", "ASME B18.2.2 #4-40 square nut", "machine screw nut #4-40"] |
| 183 | standard = "ASME B18.2.2" |
| 184 | |
| 185 | [[presets]] |
| 186 | id = "square-6-32" |
| 187 | title = "#6-32 square nut" |
| 188 | params = { size = "#6-32", style = "square" } |
| 189 | aliases = ["#6-32 square nut", "ASME B18.2.2 #6-32 square nut", "machine screw nut #6-32"] |
| 190 | standard = "ASME B18.2.2" |
| 191 | |
| 192 | [[presets]] |
| 193 | id = "square-8-32" |
| 194 | title = "#8-32 square nut" |
| 195 | params = { size = "#8-32", style = "square" } |
| 196 | aliases = ["#8-32 square nut", "ASME B18.2.2 #8-32 square nut", "machine screw nut #8-32"] |
| 197 | standard = "ASME B18.2.2" |
| 198 | |
| 199 | [[presets]] |
| 200 | id = "square-10-24" |
| 201 | title = "#10-24 square nut" |
| 202 | params = { size = "#10-24", style = "square" } |
| 203 | aliases = ["#10-24 square nut", "ASME B18.2.2 #10-24 square nut", "machine screw nut #10-24"] |
| 204 | standard = "ASME B18.2.2" |
| 205 | |
| 206 | [[presets]] |
| 207 | id = "square-10-32" |
| 208 | title = "#10-32 square nut" |
| 209 | params = { size = "#10-32", style = "square" } |
| 210 | aliases = ["#10-32 square nut", "ASME B18.2.2 #10-32 square nut", "machine screw nut #10-32"] |
| 211 | standard = "ASME B18.2.2" |
| 212 | |
| 213 | [[presets]] |
| 214 | id = "square-1-4-20" |
| 215 | title = "1/4-20 square nut" |
| 216 | params = { size = "1/4-20", style = "square" } |
| 217 | aliases = ["1/4-20 square nut", "ASME B18.2.2 1/4-20 square nut"] |
| 218 | standard = "ASME B18.2.2" |
| 219 | |
| 220 | [[presets]] |
| 221 | id = "square-1-4-28" |
| 222 | title = "1/4-28 square nut" |
| 223 | params = { size = "1/4-28", style = "square" } |
| 224 | aliases = ["1/4-28 square nut", "ASME B18.2.2 1/4-28 square nut"] |
| 225 | standard = "ASME B18.2.2" |
| 226 | |
| 227 | [[presets]] |
| 228 | id = "square-5-16-18" |
| 229 | title = "5/16-18 square nut" |
| 230 | params = { size = "5/16-18", style = "square" } |
| 231 | aliases = ["5/16-18 square nut", "ASME B18.2.2 5/16-18 square nut"] |
| 232 | standard = "ASME B18.2.2" |
| 233 | |
| 234 | [[presets]] |
| 235 | id = "square-5-16-24" |
| 236 | title = "5/16-24 square nut" |
| 237 | params = { size = "5/16-24", style = "square" } |
| 238 | aliases = ["5/16-24 square nut", "ASME B18.2.2 5/16-24 square nut"] |
| 239 | standard = "ASME B18.2.2" |
| 240 | |
| 241 | [[presets]] |
| 242 | id = "square-3-8-16" |
| 243 | title = "3/8-16 square nut" |
| 244 | params = { size = "3/8-16", style = "square" } |
| 245 | aliases = ["3/8-16 square nut", "ASME B18.2.2 3/8-16 square nut"] |
| 246 | standard = "ASME B18.2.2" |
| 247 | |
| 248 | [[presets]] |
| 249 | id = "square-3-8-24" |
| 250 | title = "3/8-24 square nut" |
| 251 | params = { size = "3/8-24", style = "square" } |
| 252 | aliases = ["3/8-24 square nut", "ASME B18.2.2 3/8-24 square nut"] |
| 253 | standard = "ASME B18.2.2" |
| 254 | |
| 255 | [[presets]] |
| 256 | id = "square-1-2-13" |
| 257 | title = "1/2-13 square nut" |
| 258 | params = { size = "1/2-13", style = "square" } |
| 259 | aliases = ["1/2-13 square nut", "ASME B18.2.2 1/2-13 square nut"] |
| 260 | standard = "ASME B18.2.2" |
| 261 | |
| 262 | [[presets]] |
| 263 | id = "square-1-2-20" |
| 264 | title = "1/2-20 square nut" |
| 265 | params = { size = "1/2-20", style = "square" } |
| 266 | aliases = ["1/2-20 square nut", "ASME B18.2.2 1/2-20 square nut"] |
| 267 | standard = "ASME B18.2.2" |
| 268 |
Hex nuts, hex jam nuts and square nuts for Unified inch threads (UNC and UNF) #0-80 to 1/2-20. Presets cover the catalogue's hex, jam and square nuts.
Envelope for assemblies: a hexagonal or square prism, width across flats F, thickness H (corner chamfers and bearing-face washers are not modelled), with a plain bore at the basic major diameter D; the thread is not modelled. The nut sits on the XY plane, centred on the origin; a hexagon's corners point along X, a square's sides are parallel to X and Y.
| Parameter | Meaning |
|---|---|
size |
Thread, #0-80 to 1/2-20 (UNC and UNF) |
style |
hex, jam (1/4 to 1/2 in only) or square |
material |
steel (carbon steel, zinc plated), stainless-18-8 (304), stainless-316 |
The values are the same in the 1987, 2010 and 2022 editions as far as these reproductions show; the citation is ASME B18.2.2-2022 (Tables 1.1.1-1, 1.1.1-3 and 1.1.1-5, numbering from ASME's table of contents https://www.asme.org/getmedia/a5d59a0e-7d26-4b87-aa17-d45e8fcf48e4/B18-2-2_2022_ToC.pdf). Inch values as printed in the tables; the model converts them to millimetres (1 in = 25.4 mm).
| Size | D | Hex F × H | Jam F × H | Square F × H |
|---|---|---|---|---|
| #0 | 0.06 | 0.15625 × 0.050 | – | 0.15625 × 0.050 |
| #1 | 0.073 | 0.15625 × 0.050 | – | 0.15625 × 0.050 |
| #2 | 0.086 | 0.1875 × 0.066 | – | 0.1875 × 0.066 |
| #3 | 0.099 | 0.1875 × 0.066 | – | 0.1875 × 0.066 |
| #4 | 0.112 | 0.25 × 0.098 | – | 0.25 × 0.098 |
| #5 | 0.125 | 0.3125 × 0.114 | – | 0.3125 × 0.114 |
| #6 | 0.138 | 0.3125 × 0.114 | – | 0.3125 × 0.114 |
| #8 | 0.164 | 0.34375 × 0.130 | – | 0.34375 × 0.130 |
| #10 | 0.19 | 0.375 × 0.130 | – | 0.375 × 0.130 |
| 1/4 | 0.25 | 0.4375 × 0.21875 | 0.4375 × 0.15625 | 0.4375 × 0.21875 |
| 5/16 | 0.3125 | 0.5 × 0.265625 | 0.5 × 0.1875 | 0.5625 × 0.265625 |
| 3/8 | 0.375 | 0.5625 × 0.328125 | 0.5625 × 0.21875 | 0.625 × 0.328125 |
| 7/16 | 0.4375 | 0.6875 × 0.375 | 0.6875 × 0.25 | 0.75 × 0.375 |
| 1/2 | 0.5 | 0.75 × 0.4375 | 0.75 × 0.3125 | 0.8125 × 0.4375 |
Corrected in this audit: the #0 to #10 thicknesses were "basic" fractions no edition of the table gives (3/64, 1/16, 3/32, 7/64, 1/8); they are now the table's H max (0.050, 0.066, 0.098, 0.114, 0.130), and the #0 to #10 presets cite ASME B18.2.2 instead of B18.6.3.
Not covered (no sourced table): nylon-insert and all-metal lock nuts, flange nuts, acorn nuts.
Preset list: sizes of the step.parts catalogue (MIT), see library/NOTICE.md.
| 1 | # Nut, inch (ASME B18.2.2) |
| 2 | |
| 3 | Hex nuts, hex jam nuts and square nuts for Unified inch threads (UNC and UNF) #0-80 to 1/2-20. Presets cover the |
| 4 | catalogue's hex, jam and square nuts. |
| 5 | |
| 6 | ## Geometry |
| 7 | |
| 8 | Envelope for assemblies: a hexagonal or square prism, width across flats **F**, thickness **H** (corner chamfers and |
| 9 | bearing-face washers are not modelled), with a plain bore at the basic major diameter **D**; the thread is not |
| 10 | modelled. The nut sits on the XY plane, centred on the origin; a hexagon's corners point along X, a square's sides |
| 11 | are parallel to X and Y. |
| 12 | |
| 13 | ## Parameters |
| 14 | |
| 15 | | Parameter | Meaning | |
| 16 | |---|---| |
| 17 | | `size` | Thread, #0-80 to 1/2-20 (UNC and UNF) | |
| 18 | | `style` | `hex`, `jam` (1/4 to 1/2 in only) or `square` | |
| 19 | | `material` | `steel` (carbon steel, zinc plated), `stainless-18-8` (304), `stainless-316` | |
| 20 | |
| 21 | ## Sources |
| 22 | |
| 23 | - **D**, basic major diameter: ASME B1.1-1989 (R2001), *Unified Inch Screw Threads*, external thread table, column |
| 24 | "Major Diameter Basic", as reproduced at <https://www.engineersedge.com/screw_threads_chart.htm>. |
| 25 | - **#0 to #10**, square and hex machine screw nuts: ASME B18.2.2, *Nuts for General Applications: Machine Screw Nuts, |
| 26 | Hex, Square, Hex Flange, and Coupling Nuts (Inch Series)*, Table 1-1 (2010 edition; Table 1.1.1-1 in the 2022 |
| 27 | edition): F **basic**, thickness H **max** (the table gives the thickness as min / max only). Read from |
| 28 | <https://www.fasten.it/Norms/Norm/ASME_B18.2.2_TABLE_1-1> ("Publication date: 2010"), checked against |
| 29 | <https://www.engineersedge.com/hardware/hexagon_machine_screw_nuts_14062.htm> (ANSI B18.6.3-1991, the earlier home of |
| 30 | these nuts; same values, F basic as fractions). Machine screw nuts moved from B18.6.3 to B18.2.2; B18.6.3-2013 has |
| 31 | no nut table. There is no machine screw jam nut, so the catalogue's numbered-size jam nuts are left out. |
| 32 | - **1/4 to 1/2**, hex nuts and hex jam nuts: ASME B18.2.2, F **basic**, H **basic**: |
| 33 | <https://www.engineersedge.com/hex_nut.htm>, <https://amesweb.info/Fasteners/Nut/Hex-Nut-Sizes-Dimensions-Table.aspx> |
| 34 | (B18.2.2-2010 via Machinery's Handbook 30th ed.), jam nuts also |
| 35 | <https://www.aftfasteners.com/hex-jam-nuts-dimensions-technical-information/> (ANSI/ASME B18.2.2-1987). |
| 36 | - **1/4 to 1/2**, square nuts: ASME B18.2.2-2010 (via Machinery's Handbook 30th ed.), F **basic**, H **basic**: |
| 37 | <https://amesweb.info/Fasteners/Nut/Square-Nuts-Dimensions.aspx>. |
| 38 | |
| 39 | The values are the same in the 1987, 2010 and 2022 editions as far as these reproductions show; the citation is |
| 40 | ASME B18.2.2-2022 (Tables 1.1.1-1, 1.1.1-3 and 1.1.1-5, numbering from ASME's table of contents |
| 41 | <https://www.asme.org/getmedia/a5d59a0e-7d26-4b87-aa17-d45e8fcf48e4/B18-2-2_2022_ToC.pdf>). Inch values as printed |
| 42 | in the tables; the model converts them to millimetres (1 in = 25.4 mm). |
| 43 | |
| 44 | | Size | D | Hex F × H | Jam F × H | Square F × H | |
| 45 | |---|---|---|---|---| |
| 46 | | #0 | 0.06 | 0.15625 × 0.050 | – | 0.15625 × 0.050 | |
| 47 | | #1 | 0.073 | 0.15625 × 0.050 | – | 0.15625 × 0.050 | |
| 48 | | #2 | 0.086 | 0.1875 × 0.066 | – | 0.1875 × 0.066 | |
| 49 | | #3 | 0.099 | 0.1875 × 0.066 | – | 0.1875 × 0.066 | |
| 50 | | #4 | 0.112 | 0.25 × 0.098 | – | 0.25 × 0.098 | |
| 51 | | #5 | 0.125 | 0.3125 × 0.114 | – | 0.3125 × 0.114 | |
| 52 | | #6 | 0.138 | 0.3125 × 0.114 | – | 0.3125 × 0.114 | |
| 53 | | #8 | 0.164 | 0.34375 × 0.130 | – | 0.34375 × 0.130 | |
| 54 | | #10 | 0.19 | 0.375 × 0.130 | – | 0.375 × 0.130 | |
| 55 | | 1/4 | 0.25 | 0.4375 × 0.21875 | 0.4375 × 0.15625 | 0.4375 × 0.21875 | |
| 56 | | 5/16 | 0.3125 | 0.5 × 0.265625 | 0.5 × 0.1875 | 0.5625 × 0.265625 | |
| 57 | | 3/8 | 0.375 | 0.5625 × 0.328125 | 0.5625 × 0.21875 | 0.625 × 0.328125 | |
| 58 | | 7/16 | 0.4375 | 0.6875 × 0.375 | 0.6875 × 0.25 | 0.75 × 0.375 | |
| 59 | | 1/2 | 0.5 | 0.75 × 0.4375 | 0.75 × 0.3125 | 0.8125 × 0.4375 | |
| 60 | |
| 61 | Corrected in this audit: the #0 to #10 thicknesses were "basic" fractions no edition of the table gives |
| 62 | (3/64, 1/16, 3/32, 7/64, 1/8); they are now the table's H max (0.050, 0.066, 0.098, 0.114, 0.130), and the |
| 63 | #0 to #10 presets cite ASME B18.2.2 instead of B18.6.3. |
| 64 | |
| 65 | Not covered (no sourced table): nylon-insert and all-metal lock nuts, flange nuts, acorn nuts. |
| 66 | |
| 67 | Preset list: sizes of the step.parts catalogue (MIT), see `library/NOTICE.md`. |
| 68 |
Nut for Unified inch threads: hex nuts and square nuts to ASME B18.2.2 (machine screw nuts for #0 to #10, hex and square nuts for 1/4 to 1/2 in) and hex jam nuts (1/4 to 1/2 in only). Envelope geometry for assemblies: a hexagonal or square prism (width across flats F, thickness H; corner chamfers not modelled) with a plain bore at the ASME B1.1 basic major diameter; the thread itself is not modelled. It sits on the XY plane, centred on the origin (the model is in millimetres). Dimensions: see the README.
Hex nuts, hex jam nuts and square nuts for Unified inch threads (UNC and UNF) #0-80 to 1/2-20. Presets cover the catalogue's hex, jam and square nuts.
Envelope for assemblies: a hexagonal or square prism, width across flats F, thickness H (corner chamfers and bearing-face washers are not modelled), with a plain bore at the basic major diameter D; the thread is not modelled. The nut sits on the XY plane, centred on the origin; a hexagon's corners point along X, a square's sides are parallel to X and Y.
| Parameter | Meaning |
|---|---|
size |
Thread, #0-80 to 1/2-20 (UNC and UNF) |
style |
hex, jam (1/4 to 1/2 in only) or square |
material |
steel (carbon steel, zinc plated), stainless-18-8 (304), stainless-316 |
The values are the same in the 1987, 2010 and 2022 editions as far as these reproductions show; the citation is ASME B18.2.2-2022 (Tables 1.1.1-1, 1.1.1-3 and 1.1.1-5, numbering from ASME's table of contents https://www.asme.org/getmedia/a5d59a0e-7d26-4b87-aa17-d45e8fcf48e4/B18-2-2_2022_ToC.pdf). Inch values as printed in the tables; the model converts them to millimetres (1 in = 25.4 mm).
| Size | D | Hex F × H | Jam F × H | Square F × H |
|---|---|---|---|---|
| #0 | 0.06 | 0.15625 × 0.050 | – | 0.15625 × 0.050 |
| #1 | 0.073 | 0.15625 × 0.050 | – | 0.15625 × 0.050 |
| #2 | 0.086 | 0.1875 × 0.066 | – | 0.1875 × 0.066 |
| #3 | 0.099 | 0.1875 × 0.066 | – | 0.1875 × 0.066 |
| #4 | 0.112 | 0.25 × 0.098 | – | 0.25 × 0.098 |
| #5 | 0.125 | 0.3125 × 0.114 | – | 0.3125 × 0.114 |
| #6 | 0.138 | 0.3125 × 0.114 | – | 0.3125 × 0.114 |
| #8 | 0.164 | 0.34375 × 0.130 | – | 0.34375 × 0.130 |
| #10 | 0.19 | 0.375 × 0.130 | – | 0.375 × 0.130 |
| 1/4 | 0.25 | 0.4375 × 0.21875 | 0.4375 × 0.15625 | 0.4375 × 0.21875 |
| 5/16 | 0.3125 | 0.5 × 0.265625 | 0.5 × 0.1875 | 0.5625 × 0.265625 |
| 3/8 | 0.375 | 0.5625 × 0.328125 | 0.5625 × 0.21875 | 0.625 × 0.328125 |
| 7/16 | 0.4375 | 0.6875 × 0.375 | 0.6875 × 0.25 | 0.75 × 0.375 |
| 1/2 | 0.5 | 0.75 × 0.4375 | 0.75 × 0.3125 | 0.8125 × 0.4375 |
Corrected in this audit: the #0 to #10 thicknesses were "basic" fractions no edition of the table gives (3/64, 1/16, 3/32, 7/64, 1/8); they are now the table's H max (0.050, 0.066, 0.098, 0.114, 0.130), and the #0 to #10 presets cite ASME B18.2.2 instead of B18.6.3.
Not covered (no sourced table): nylon-insert and all-metal lock nuts, flange nuts, acorn nuts.
Preset list: sizes of the step.parts catalogue (MIT), see library/NOTICE.md.
Inch lock, flange and acorn nuts: nylon-insert and all-metal (ASME B18.16.6), hex flange (ASME B18.2.2), acorn (SAE J483).
Metric nuts: hex ISO 4032, thin ISO 4035, nylon-insert DIN 985, all-metal DIN 980, flange DIN 6923, cap DIN 1587, square DIN 557.
Hex nut, ISO 4032, M2 to M12.
Button head socket cap screw, inch, ASME B18.3, #0 to 1/2 in, UNC/UNF, any length, with catalogue sizes as presets.