steve/inch-nut
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.
Inch lock, flange and acorn nuts: nylon-insert and all-metal (ASME B18.16.6), hex flange (ASME B18.2.2), acorn (SAE J483).
| 1 | """Inch specialty nuts, Unified threads: nylon-insert and all-metal prevailing-torque lock nuts (ASME B18.16.6), |
| 2 | hex flange nuts (ASME B18.2.2 Table 12) and low-crown acorn nuts (SAE J483). |
| 3 | |
| 4 | Envelope models for assemblies, axis along +Z, sitting on the XY plane, centred on the origin; the thread is not |
| 5 | modelled (a bore at the ASME B1.1 basic major diameter D) and corner chamfers are not modelled: |
| 6 | - nylon, all-metal: a hex prism, width across flats F (max), height H (max, overall; the nylon collar and the |
| 7 | all-metal nut's locking crimp are within it and not modelled separately); |
| 8 | - flange: a flange disc dc (max) x c (min, the flange's edge thickness) under a hex prism F (max) up to the overall |
| 9 | thickness m (max); the flange's taper from its edge up to the hex is not modelled; bore through; |
| 10 | - acorn: a hex prism F (max) x Q (hex height), then the crown: a body of diameter A to the overall height H, its top |
| 11 | rounded with the body radius S (the nose radius R is not modelled); a blind bore of depth T (max drill depth). |
| 12 | The model is in millimetres (1 in = 25.4 mm); the tables are in inches as in the sources. |
| 13 | """ |
| 14 | import math |
| 15 | |
| 16 | from steve import Model |
| 17 | |
| 18 | size = "1/4-20" # Thread (Unified, ASME B1.1) |
| 19 | style = "nylon" # Nut style |
| 20 | material = "steel" # Material |
| 21 | |
| 22 | THREADS = { |
| 23 | "#2-56": "#2", "#4-40": "#4", "#6-32": "#6", "#8-32": "#8", "#10-24": "#10", "#10-32": "#10", |
| 24 | "1/4-20": "1/4", "1/4-28": "1/4", "5/16-18": "5/16", "5/16-24": "5/16", "3/8-16": "3/8", "3/8-24": "3/8", |
| 25 | "1/2-13": "1/2", "1/2-20": "1/2", |
| 26 | } |
| 27 | # Inches. ASME B1.1 basic major diameter D. |
| 28 | DIAMETERS = {"#2": 0.086, "#4": 0.112, "#6": 0.138, "#8": 0.164, "#10": 0.19, "1/4": 0.25, "5/16": 0.3125, |
| 29 | "3/8": 0.375, "1/2": 0.5} |
| 30 | # ASME B18.16.6-2017 nylon-insert lock nuts, standard height: style NM (#2-#10) and NE (1/4-1/2): (s max, h max) |
| 31 | NYLON = {"#2": (0.251, 0.153), "#4": (0.251, 0.153), "#6": (0.313, 0.188), "#8": (0.345, 0.239), |
| 32 | "#10": (0.376, 0.249), "1/4": (0.439, 0.328), "5/16": (0.502, 0.359), "3/8": (0.564, 0.468), |
| 33 | "1/2": (0.752, 0.609)} |
| 34 | # ASME B18.16.6-2017 prevailing-torque all-metal hex nuts: (s max, h max) |
| 35 | ALL_METAL = {"#4": (0.251, 0.163), "#6": (0.313, 0.171), "#8": (0.345, 0.191), "#10": (0.376, 0.241), |
| 36 | "1/4": (0.4385, 0.288), "5/16": (0.502, 0.336), "3/8": (0.5645, 0.415), "1/2": (0.752, 0.573)} |
| 37 | # ASME B18.2.2-2015 Table 12 hex flange nuts: (s max, dc max, m max, c min) |
| 38 | FLANGE = {"#6": (0.312, 0.422, 0.171, 0.02), "#8": (0.344, 0.469, 0.203, 0.02), "#10": (0.375, 0.5, 0.219, 0.03), |
| 39 | "1/4": (0.438, 0.594, 0.236, 0.04), "5/16": (0.5, 0.68, 0.283, 0.04), "3/8": (0.562, 0.75, 0.347, 0.04), |
| 40 | "1/2": (0.75, 1.031, 0.458, 0.05)} |
| 41 | # SAE J483 low-crown acorn nuts: (F max, Q hex height, A body diameter, H overall height, S body radius, T max drill |
| 42 | # depth) |
| 43 | ACORN = {"#6": (0.3125, 0.16, 0.30, 0.34, 0.17, 0.25), "#8": (0.3125, 0.16, 0.30, 0.34, 0.17, 0.25), |
| 44 | "#10": (0.375, 0.19, 0.36, 0.41, 0.22, 0.28), "1/4": (0.4375, 0.22, 0.41, 0.47, 0.25, 0.34), |
| 45 | "5/16": (0.5, 0.25, 0.47, 0.53, 0.28, 0.41), "3/8": (0.5625, 0.28, 0.53, 0.62, 0.33, 0.45), |
| 46 | "1/2": (0.75, 0.38, 0.72, 0.81, 0.42, 0.59)} |
| 47 | MATERIALS = { |
| 48 | "steel": ("steel-generic", "#b8bcc2"), # carbon steel, zinc plated |
| 49 | "stainless-18-8": ("stainless-304", "#c9ccd0"), |
| 50 | } |
| 51 | INCH = 25.4 |
| 52 | |
| 53 | nominal = THREADS[size] |
| 54 | d = DIAMETERS[nominal] * INCH |
| 55 | material_id, colour = MATERIALS[material] |
| 56 | tables = {"nylon": NYLON, "all-metal": ALL_METAL, "flange": FLANGE, "acorn": ACORN} |
| 57 | if nominal not in tables[style]: |
| 58 | raise ValueError(f"No {style} nut for {nominal} in the sourced table.") |
| 59 | row = [v * INCH for v in tables[style][nominal]] |
| 60 | |
| 61 | model = Model() |
| 62 | if style in ("nylon", "all-metal"): |
| 63 | F, H = row |
| 64 | with model.sketch("nut_sketch", on="XY", name="Nut") as sk: |
| 65 | sk.polygon("hex", (0, 0), F / 2, 6, inscribed=False) |
| 66 | sk.circle("bore", (0, 0), d / 2) |
| 67 | model.extrude("nut", "nut_sketch", distance=H, name="Nut") |
| 68 | elif style == "flange": |
| 69 | F, dc, m, c = row |
| 70 | model.cylinder("flange", dc / 2, c, name="Flange") |
| 71 | model.plane("hex_plane", on="XY", offset=c, name="Flange top") |
| 72 | with model.sketch("hex_sketch", on="hex_plane", name="Hex") as sk: |
| 73 | sk.polygon("hex", (0, 0), F / 2, 6, inscribed=False) |
| 74 | model.extrude("hex", "hex_sketch", distance=m - c, op="join", name="Hex") |
| 75 | model.cylinder("bore", d / 2, m, op="cut", name="Bore") |
| 76 | else: |
| 77 | F, Q, A, H, S, T = row |
| 78 | with model.sketch("hex_sketch", on="XY", name="Hex") as sk: |
| 79 | sk.polygon("hex", (0, 0), F / 2, 6, inscribed=False) |
| 80 | model.extrude("hex", "hex_sketch", distance=Q, name="Hex") |
| 81 | model.cylinder("crown", A / 2, H - Q, at=(0, 0, Q), op="new", name="Crown") |
| 82 | model.sphere("dome", S, at=(0, 0, H - S), op="new", name="Dome") |
| 83 | model.combine("crown_shape", "crown", ["dome"], op="intersect", name="Crown shape") |
| 84 | model.combine("nut", "hex", ["crown"], op="join", name="Nut") |
| 85 | model.cylinder("bore", d / 2, T, op="cut", name="Bore") |
| 86 | model.material(material_id, color=colour) |
| 87 | result = model.result() |
| 88 |
| 1 | name = "steve/inch-specialty-nut" |
| 2 | version = "1.0.0" |
| 3 | runtime = "steve" |
| 4 | license = "MIT" |
| 5 | summary = "Inch lock, flange and acorn nuts: nylon-insert and all-metal (ASME B18.16.6), hex flange (ASME B18.2.2), acorn (SAE J483)." |
| 6 | description = """Specialty nuts for Unified inch threads #2-56 to 1/2-20: nylon-insert lock nuts (ASME B18.16.6 styles NM \ |
| 7 | and NE, standard height), prevailing-torque all-metal hex lock nuts (ASME B18.16.6), hex flange nuts (ASME B18.2.2 \ |
| 8 | Table 12) and low-crown acorn (cap) nuts (SAE J483). Envelope geometry for assemblies at the tables' maximum sizes; \ |
| 9 | the thread is a plain bore at the ASME B1.1 basic major diameter. |
| 10 | |
| 11 | It sits on the XY plane, centred on the origin, axis along +Z (the model is in millimetres). Dimensions: see the README.""" |
| 12 | tags = ["fastener", "nut", "lock-nut", "nylon-insert", "flange-nut", "acorn-nut", "cap-nut", "asme-b18-16-6", "asme-b18-2-2", "inch"] |
| 13 | |
| 14 | [parameters.size] |
| 15 | type = "choice" |
| 16 | default = "1/4-20" |
| 17 | choices = ["#2-56", "#4-40", "#6-32", "#8-32", "#10-24", "#10-32", "1/4-20", "1/4-28", "5/16-18", "5/16-24", "3/8-16", "3/8-24", "1/2-13", "1/2-20"] |
| 18 | label = "Thread" |
| 19 | |
| 20 | [parameters.style] |
| 21 | type = "choice" |
| 22 | default = "nylon" |
| 23 | choices = ["nylon", "all-metal", "flange", "acorn"] |
| 24 | label = "Style" |
| 25 | description = "nylon (#2 and up), all-metal (#4 and up), flange (#6 and up) or acorn (#6 and up)." |
| 26 | |
| 27 | [parameters.material] |
| 28 | type = "choice" |
| 29 | default = "steel" |
| 30 | choices = ["steel", "stainless-18-8"] |
| 31 | label = "Material" |
| 32 | description = "steel: carbon steel, zinc plated; stainless-18-8 (304)." |
| 33 |
| 1 | # Presets of this part (factory/PRESETS.md). Written by factory/gen.py. |
| 2 | |
| 3 | [[presets]] |
| 4 | id = "nylon-2-56" |
| 5 | title = "#2-56 nylon-insert lock nut" |
| 6 | params = { size = "#2-56", style = "nylon" } |
| 7 | aliases = ["#2-56 nylon-insert lock nut", "ASME B18.16.6 #2-56", "#2-56 nyloc nut", "#2-56 nylock nut", "#2-56 nylon insert locknut"] |
| 8 | standard = "ASME B18.16.6" |
| 9 | |
| 10 | [[presets]] |
| 11 | id = "nylon-4-40" |
| 12 | title = "#4-40 nylon-insert lock nut" |
| 13 | params = { size = "#4-40", style = "nylon" } |
| 14 | aliases = ["#4-40 nylon-insert lock nut", "ASME B18.16.6 #4-40", "#4-40 nyloc nut", "#4-40 nylock nut", "#4-40 nylon insert locknut"] |
| 15 | standard = "ASME B18.16.6" |
| 16 | |
| 17 | [[presets]] |
| 18 | id = "nylon-6-32" |
| 19 | title = "#6-32 nylon-insert lock nut" |
| 20 | params = { size = "#6-32", style = "nylon" } |
| 21 | aliases = ["#6-32 nylon-insert lock nut", "ASME B18.16.6 #6-32", "#6-32 nyloc nut", "#6-32 nylock nut", "#6-32 nylon insert locknut"] |
| 22 | standard = "ASME B18.16.6" |
| 23 | |
| 24 | [[presets]] |
| 25 | id = "nylon-8-32" |
| 26 | title = "#8-32 nylon-insert lock nut" |
| 27 | params = { size = "#8-32", style = "nylon" } |
| 28 | aliases = ["#8-32 nylon-insert lock nut", "ASME B18.16.6 #8-32", "#8-32 nyloc nut", "#8-32 nylock nut", "#8-32 nylon insert locknut"] |
| 29 | standard = "ASME B18.16.6" |
| 30 | |
| 31 | [[presets]] |
| 32 | id = "nylon-10-24" |
| 33 | title = "#10-24 nylon-insert lock nut" |
| 34 | params = { size = "#10-24", style = "nylon" } |
| 35 | aliases = ["#10-24 nylon-insert lock nut", "ASME B18.16.6 #10-24", "#10-24 nyloc nut", "#10-24 nylock nut", "#10-24 nylon insert locknut"] |
| 36 | standard = "ASME B18.16.6" |
| 37 | |
| 38 | [[presets]] |
| 39 | id = "nylon-10-32" |
| 40 | title = "#10-32 nylon-insert lock nut" |
| 41 | params = { size = "#10-32", style = "nylon" } |
| 42 | aliases = ["#10-32 nylon-insert lock nut", "ASME B18.16.6 #10-32", "#10-32 nyloc nut", "#10-32 nylock nut", "#10-32 nylon insert locknut"] |
| 43 | standard = "ASME B18.16.6" |
| 44 | |
| 45 | [[presets]] |
| 46 | id = "nylon-1-4-20" |
| 47 | title = "1/4-20 nylon-insert lock nut" |
| 48 | params = { size = "1/4-20", style = "nylon" } |
| 49 | aliases = ["1/4-20 nylon-insert lock nut", "ASME B18.16.6 1/4-20", "1/4-20 nyloc nut", "1/4-20 nylock nut", "1/4-20 nylon insert locknut"] |
| 50 | standard = "ASME B18.16.6" |
| 51 | |
| 52 | [[presets]] |
| 53 | id = "nylon-1-4-28" |
| 54 | title = "1/4-28 nylon-insert lock nut" |
| 55 | params = { size = "1/4-28", style = "nylon" } |
| 56 | aliases = ["1/4-28 nylon-insert lock nut", "ASME B18.16.6 1/4-28", "1/4-28 nyloc nut", "1/4-28 nylock nut", "1/4-28 nylon insert locknut"] |
| 57 | standard = "ASME B18.16.6" |
| 58 | |
| 59 | [[presets]] |
| 60 | id = "nylon-5-16-18" |
| 61 | title = "5/16-18 nylon-insert lock nut" |
| 62 | params = { size = "5/16-18", style = "nylon" } |
| 63 | aliases = ["5/16-18 nylon-insert lock nut", "ASME B18.16.6 5/16-18", "5/16-18 nyloc nut", "5/16-18 nylock nut", "5/16-18 nylon insert locknut"] |
| 64 | standard = "ASME B18.16.6" |
| 65 | |
| 66 | [[presets]] |
| 67 | id = "nylon-5-16-24" |
| 68 | title = "5/16-24 nylon-insert lock nut" |
| 69 | params = { size = "5/16-24", style = "nylon" } |
| 70 | aliases = ["5/16-24 nylon-insert lock nut", "ASME B18.16.6 5/16-24", "5/16-24 nyloc nut", "5/16-24 nylock nut", "5/16-24 nylon insert locknut"] |
| 71 | standard = "ASME B18.16.6" |
| 72 | |
| 73 | [[presets]] |
| 74 | id = "nylon-3-8-16" |
| 75 | title = "3/8-16 nylon-insert lock nut" |
| 76 | params = { size = "3/8-16", style = "nylon" } |
| 77 | aliases = ["3/8-16 nylon-insert lock nut", "ASME B18.16.6 3/8-16", "3/8-16 nyloc nut", "3/8-16 nylock nut", "3/8-16 nylon insert locknut"] |
| 78 | standard = "ASME B18.16.6" |
| 79 | |
| 80 | [[presets]] |
| 81 | id = "nylon-3-8-24" |
| 82 | title = "3/8-24 nylon-insert lock nut" |
| 83 | params = { size = "3/8-24", style = "nylon" } |
| 84 | aliases = ["3/8-24 nylon-insert lock nut", "ASME B18.16.6 3/8-24", "3/8-24 nyloc nut", "3/8-24 nylock nut", "3/8-24 nylon insert locknut"] |
| 85 | standard = "ASME B18.16.6" |
| 86 | |
| 87 | [[presets]] |
| 88 | id = "nylon-1-2-13" |
| 89 | title = "1/2-13 nylon-insert lock nut" |
| 90 | params = { size = "1/2-13", style = "nylon" } |
| 91 | aliases = ["1/2-13 nylon-insert lock nut", "ASME B18.16.6 1/2-13", "1/2-13 nyloc nut", "1/2-13 nylock nut", "1/2-13 nylon insert locknut"] |
| 92 | standard = "ASME B18.16.6" |
| 93 | |
| 94 | [[presets]] |
| 95 | id = "nylon-1-2-20" |
| 96 | title = "1/2-20 nylon-insert lock nut" |
| 97 | params = { size = "1/2-20", style = "nylon" } |
| 98 | aliases = ["1/2-20 nylon-insert lock nut", "ASME B18.16.6 1/2-20", "1/2-20 nyloc nut", "1/2-20 nylock nut", "1/2-20 nylon insert locknut"] |
| 99 | standard = "ASME B18.16.6" |
| 100 | |
| 101 | [[presets]] |
| 102 | id = "all-metal-4-40" |
| 103 | title = "#4-40 all-metal lock nut" |
| 104 | params = { size = "#4-40", style = "all-metal" } |
| 105 | aliases = ["#4-40 all-metal lock nut", "ASME B18.16.6 #4-40", "#4-40 prevailing torque nut", "#4-40 stover nut", "#4-40 all metal locknut"] |
| 106 | standard = "ASME B18.16.6" |
| 107 | |
| 108 | [[presets]] |
| 109 | id = "all-metal-6-32" |
| 110 | title = "#6-32 all-metal lock nut" |
| 111 | params = { size = "#6-32", style = "all-metal" } |
| 112 | aliases = ["#6-32 all-metal lock nut", "ASME B18.16.6 #6-32", "#6-32 prevailing torque nut", "#6-32 stover nut", "#6-32 all metal locknut"] |
| 113 | standard = "ASME B18.16.6" |
| 114 | |
| 115 | [[presets]] |
| 116 | id = "all-metal-8-32" |
| 117 | title = "#8-32 all-metal lock nut" |
| 118 | params = { size = "#8-32", style = "all-metal" } |
| 119 | aliases = ["#8-32 all-metal lock nut", "ASME B18.16.6 #8-32", "#8-32 prevailing torque nut", "#8-32 stover nut", "#8-32 all metal locknut"] |
| 120 | standard = "ASME B18.16.6" |
| 121 | |
| 122 | [[presets]] |
| 123 | id = "all-metal-10-24" |
| 124 | title = "#10-24 all-metal lock nut" |
| 125 | params = { size = "#10-24", style = "all-metal" } |
| 126 | aliases = ["#10-24 all-metal lock nut", "ASME B18.16.6 #10-24", "#10-24 prevailing torque nut", "#10-24 stover nut", "#10-24 all metal locknut"] |
| 127 | standard = "ASME B18.16.6" |
| 128 | |
| 129 | [[presets]] |
| 130 | id = "all-metal-10-32" |
| 131 | title = "#10-32 all-metal lock nut" |
| 132 | params = { size = "#10-32", style = "all-metal" } |
| 133 | aliases = ["#10-32 all-metal lock nut", "ASME B18.16.6 #10-32", "#10-32 prevailing torque nut", "#10-32 stover nut", "#10-32 all metal locknut"] |
| 134 | standard = "ASME B18.16.6" |
| 135 | |
| 136 | [[presets]] |
| 137 | id = "all-metal-1-4-20" |
| 138 | title = "1/4-20 all-metal lock nut" |
| 139 | params = { size = "1/4-20", style = "all-metal" } |
| 140 | aliases = ["1/4-20 all-metal lock nut", "ASME B18.16.6 1/4-20", "1/4-20 prevailing torque nut", "1/4-20 stover nut", "1/4-20 all metal locknut"] |
| 141 | standard = "ASME B18.16.6" |
| 142 | |
| 143 | [[presets]] |
| 144 | id = "all-metal-1-4-28" |
| 145 | title = "1/4-28 all-metal lock nut" |
| 146 | params = { size = "1/4-28", style = "all-metal" } |
| 147 | aliases = ["1/4-28 all-metal lock nut", "ASME B18.16.6 1/4-28", "1/4-28 prevailing torque nut", "1/4-28 stover nut", "1/4-28 all metal locknut"] |
| 148 | standard = "ASME B18.16.6" |
| 149 | |
| 150 | [[presets]] |
| 151 | id = "all-metal-5-16-18" |
| 152 | title = "5/16-18 all-metal lock nut" |
| 153 | params = { size = "5/16-18", style = "all-metal" } |
| 154 | aliases = ["5/16-18 all-metal lock nut", "ASME B18.16.6 5/16-18", "5/16-18 prevailing torque nut", "5/16-18 stover nut", "5/16-18 all metal locknut"] |
| 155 | standard = "ASME B18.16.6" |
| 156 | |
| 157 | [[presets]] |
| 158 | id = "all-metal-5-16-24" |
| 159 | title = "5/16-24 all-metal lock nut" |
| 160 | params = { size = "5/16-24", style = "all-metal" } |
| 161 | aliases = ["5/16-24 all-metal lock nut", "ASME B18.16.6 5/16-24", "5/16-24 prevailing torque nut", "5/16-24 stover nut", "5/16-24 all metal locknut"] |
| 162 | standard = "ASME B18.16.6" |
| 163 | |
| 164 | [[presets]] |
| 165 | id = "all-metal-3-8-16" |
| 166 | title = "3/8-16 all-metal lock nut" |
| 167 | params = { size = "3/8-16", style = "all-metal" } |
| 168 | aliases = ["3/8-16 all-metal lock nut", "ASME B18.16.6 3/8-16", "3/8-16 prevailing torque nut", "3/8-16 stover nut", "3/8-16 all metal locknut"] |
| 169 | standard = "ASME B18.16.6" |
| 170 | |
| 171 | [[presets]] |
| 172 | id = "all-metal-3-8-24" |
| 173 | title = "3/8-24 all-metal lock nut" |
| 174 | params = { size = "3/8-24", style = "all-metal" } |
| 175 | aliases = ["3/8-24 all-metal lock nut", "ASME B18.16.6 3/8-24", "3/8-24 prevailing torque nut", "3/8-24 stover nut", "3/8-24 all metal locknut"] |
| 176 | standard = "ASME B18.16.6" |
| 177 | |
| 178 | [[presets]] |
| 179 | id = "all-metal-1-2-13" |
| 180 | title = "1/2-13 all-metal lock nut" |
| 181 | params = { size = "1/2-13", style = "all-metal" } |
| 182 | aliases = ["1/2-13 all-metal lock nut", "ASME B18.16.6 1/2-13", "1/2-13 prevailing torque nut", "1/2-13 stover nut", "1/2-13 all metal locknut"] |
| 183 | standard = "ASME B18.16.6" |
| 184 | |
| 185 | [[presets]] |
| 186 | id = "all-metal-1-2-20" |
| 187 | title = "1/2-20 all-metal lock nut" |
| 188 | params = { size = "1/2-20", style = "all-metal" } |
| 189 | aliases = ["1/2-20 all-metal lock nut", "ASME B18.16.6 1/2-20", "1/2-20 prevailing torque nut", "1/2-20 stover nut", "1/2-20 all metal locknut"] |
| 190 | standard = "ASME B18.16.6" |
| 191 | |
| 192 | [[presets]] |
| 193 | id = "flange-6-32" |
| 194 | title = "#6-32 hex flange nut" |
| 195 | params = { size = "#6-32", style = "flange" } |
| 196 | aliases = ["#6-32 hex flange nut", "ASME B18.2.2 #6-32", "#6-32 flange nut", "#6-32 serrated flange nut"] |
| 197 | standard = "ASME B18.2.2" |
| 198 | |
| 199 | [[presets]] |
| 200 | id = "flange-8-32" |
| 201 | title = "#8-32 hex flange nut" |
| 202 | params = { size = "#8-32", style = "flange" } |
| 203 | aliases = ["#8-32 hex flange nut", "ASME B18.2.2 #8-32", "#8-32 flange nut", "#8-32 serrated flange nut"] |
| 204 | standard = "ASME B18.2.2" |
| 205 | |
| 206 | [[presets]] |
| 207 | id = "flange-10-24" |
| 208 | title = "#10-24 hex flange nut" |
| 209 | params = { size = "#10-24", style = "flange" } |
| 210 | aliases = ["#10-24 hex flange nut", "ASME B18.2.2 #10-24", "#10-24 flange nut", "#10-24 serrated flange nut"] |
| 211 | standard = "ASME B18.2.2" |
| 212 | |
| 213 | [[presets]] |
| 214 | id = "flange-10-32" |
| 215 | title = "#10-32 hex flange nut" |
| 216 | params = { size = "#10-32", style = "flange" } |
| 217 | aliases = ["#10-32 hex flange nut", "ASME B18.2.2 #10-32", "#10-32 flange nut", "#10-32 serrated flange nut"] |
| 218 | standard = "ASME B18.2.2" |
| 219 | |
| 220 | [[presets]] |
| 221 | id = "flange-1-4-20" |
| 222 | title = "1/4-20 hex flange nut" |
| 223 | params = { size = "1/4-20", style = "flange" } |
| 224 | aliases = ["1/4-20 hex flange nut", "ASME B18.2.2 1/4-20", "1/4-20 flange nut", "1/4-20 serrated flange nut"] |
| 225 | standard = "ASME B18.2.2" |
| 226 | |
| 227 | [[presets]] |
| 228 | id = "flange-1-4-28" |
| 229 | title = "1/4-28 hex flange nut" |
| 230 | params = { size = "1/4-28", style = "flange" } |
| 231 | aliases = ["1/4-28 hex flange nut", "ASME B18.2.2 1/4-28", "1/4-28 flange nut", "1/4-28 serrated flange nut"] |
| 232 | standard = "ASME B18.2.2" |
| 233 | |
| 234 | [[presets]] |
| 235 | id = "flange-5-16-18" |
| 236 | title = "5/16-18 hex flange nut" |
| 237 | params = { size = "5/16-18", style = "flange" } |
| 238 | aliases = ["5/16-18 hex flange nut", "ASME B18.2.2 5/16-18", "5/16-18 flange nut", "5/16-18 serrated flange nut"] |
| 239 | standard = "ASME B18.2.2" |
| 240 | |
| 241 | [[presets]] |
| 242 | id = "flange-5-16-24" |
| 243 | title = "5/16-24 hex flange nut" |
| 244 | params = { size = "5/16-24", style = "flange" } |
| 245 | aliases = ["5/16-24 hex flange nut", "ASME B18.2.2 5/16-24", "5/16-24 flange nut", "5/16-24 serrated flange nut"] |
| 246 | standard = "ASME B18.2.2" |
| 247 | |
| 248 | [[presets]] |
| 249 | id = "flange-3-8-16" |
| 250 | title = "3/8-16 hex flange nut" |
| 251 | params = { size = "3/8-16", style = "flange" } |
| 252 | aliases = ["3/8-16 hex flange nut", "ASME B18.2.2 3/8-16", "3/8-16 flange nut", "3/8-16 serrated flange nut"] |
| 253 | standard = "ASME B18.2.2" |
| 254 | |
| 255 | [[presets]] |
| 256 | id = "flange-3-8-24" |
| 257 | title = "3/8-24 hex flange nut" |
| 258 | params = { size = "3/8-24", style = "flange" } |
| 259 | aliases = ["3/8-24 hex flange nut", "ASME B18.2.2 3/8-24", "3/8-24 flange nut", "3/8-24 serrated flange nut"] |
| 260 | standard = "ASME B18.2.2" |
| 261 | |
| 262 | [[presets]] |
| 263 | id = "flange-1-2-13" |
| 264 | title = "1/2-13 hex flange nut" |
| 265 | params = { size = "1/2-13", style = "flange" } |
| 266 | aliases = ["1/2-13 hex flange nut", "ASME B18.2.2 1/2-13", "1/2-13 flange nut", "1/2-13 serrated flange nut"] |
| 267 | standard = "ASME B18.2.2" |
| 268 | |
| 269 | [[presets]] |
| 270 | id = "flange-1-2-20" |
| 271 | title = "1/2-20 hex flange nut" |
| 272 | params = { size = "1/2-20", style = "flange" } |
| 273 | aliases = ["1/2-20 hex flange nut", "ASME B18.2.2 1/2-20", "1/2-20 flange nut", "1/2-20 serrated flange nut"] |
| 274 | standard = "ASME B18.2.2" |
| 275 | |
| 276 | [[presets]] |
| 277 | id = "acorn-6-32" |
| 278 | title = "#6-32 acorn nut" |
| 279 | params = { size = "#6-32", style = "acorn" } |
| 280 | aliases = ["#6-32 acorn nut", "SAE J483 #6-32", "#6-32 cap nut", "#6-32 dome nut", "#6-32 acorn cap nut"] |
| 281 | standard = "SAE J483" |
| 282 | |
| 283 | [[presets]] |
| 284 | id = "acorn-8-32" |
| 285 | title = "#8-32 acorn nut" |
| 286 | params = { size = "#8-32", style = "acorn" } |
| 287 | aliases = ["#8-32 acorn nut", "SAE J483 #8-32", "#8-32 cap nut", "#8-32 dome nut", "#8-32 acorn cap nut"] |
| 288 | standard = "SAE J483" |
| 289 | |
| 290 | [[presets]] |
| 291 | id = "acorn-10-24" |
| 292 | title = "#10-24 acorn nut" |
| 293 | params = { size = "#10-24", style = "acorn" } |
| 294 | aliases = ["#10-24 acorn nut", "SAE J483 #10-24", "#10-24 cap nut", "#10-24 dome nut", "#10-24 acorn cap nut"] |
| 295 | standard = "SAE J483" |
| 296 | |
| 297 | [[presets]] |
| 298 | id = "acorn-10-32" |
| 299 | title = "#10-32 acorn nut" |
| 300 | params = { size = "#10-32", style = "acorn" } |
| 301 | aliases = ["#10-32 acorn nut", "SAE J483 #10-32", "#10-32 cap nut", "#10-32 dome nut", "#10-32 acorn cap nut"] |
| 302 | standard = "SAE J483" |
| 303 | |
| 304 | [[presets]] |
| 305 | id = "acorn-1-4-20" |
| 306 | title = "1/4-20 acorn nut" |
| 307 | params = { size = "1/4-20", style = "acorn" } |
| 308 | aliases = ["1/4-20 acorn nut", "SAE J483 1/4-20", "1/4-20 cap nut", "1/4-20 dome nut", "1/4-20 acorn cap nut"] |
| 309 | standard = "SAE J483" |
| 310 | |
| 311 | [[presets]] |
| 312 | id = "acorn-1-4-28" |
| 313 | title = "1/4-28 acorn nut" |
| 314 | params = { size = "1/4-28", style = "acorn" } |
| 315 | aliases = ["1/4-28 acorn nut", "SAE J483 1/4-28", "1/4-28 cap nut", "1/4-28 dome nut", "1/4-28 acorn cap nut"] |
| 316 | standard = "SAE J483" |
| 317 | |
| 318 | [[presets]] |
| 319 | id = "acorn-5-16-18" |
| 320 | title = "5/16-18 acorn nut" |
| 321 | params = { size = "5/16-18", style = "acorn" } |
| 322 | aliases = ["5/16-18 acorn nut", "SAE J483 5/16-18", "5/16-18 cap nut", "5/16-18 dome nut", "5/16-18 acorn cap nut"] |
| 323 | standard = "SAE J483" |
| 324 | |
| 325 | [[presets]] |
| 326 | id = "acorn-5-16-24" |
| 327 | title = "5/16-24 acorn nut" |
| 328 | params = { size = "5/16-24", style = "acorn" } |
| 329 | aliases = ["5/16-24 acorn nut", "SAE J483 5/16-24", "5/16-24 cap nut", "5/16-24 dome nut", "5/16-24 acorn cap nut"] |
| 330 | standard = "SAE J483" |
| 331 | |
| 332 | [[presets]] |
| 333 | id = "acorn-3-8-16" |
| 334 | title = "3/8-16 acorn nut" |
| 335 | params = { size = "3/8-16", style = "acorn" } |
| 336 | aliases = ["3/8-16 acorn nut", "SAE J483 3/8-16", "3/8-16 cap nut", "3/8-16 dome nut", "3/8-16 acorn cap nut"] |
| 337 | standard = "SAE J483" |
| 338 | |
| 339 | [[presets]] |
| 340 | id = "acorn-3-8-24" |
| 341 | title = "3/8-24 acorn nut" |
| 342 | params = { size = "3/8-24", style = "acorn" } |
| 343 | aliases = ["3/8-24 acorn nut", "SAE J483 3/8-24", "3/8-24 cap nut", "3/8-24 dome nut", "3/8-24 acorn cap nut"] |
| 344 | standard = "SAE J483" |
| 345 | |
| 346 | [[presets]] |
| 347 | id = "acorn-1-2-13" |
| 348 | title = "1/2-13 acorn nut" |
| 349 | params = { size = "1/2-13", style = "acorn" } |
| 350 | aliases = ["1/2-13 acorn nut", "SAE J483 1/2-13", "1/2-13 cap nut", "1/2-13 dome nut", "1/2-13 acorn cap nut"] |
| 351 | standard = "SAE J483" |
| 352 | |
| 353 | [[presets]] |
| 354 | id = "acorn-1-2-20" |
| 355 | title = "1/2-20 acorn nut" |
| 356 | params = { size = "1/2-20", style = "acorn" } |
| 357 | aliases = ["1/2-20 acorn nut", "SAE J483 1/2-20", "1/2-20 cap nut", "1/2-20 dome nut", "1/2-20 acorn cap nut"] |
| 358 | standard = "SAE J483" |
| 359 |
Nylon-insert and all-metal lock nuts, hex flange nuts and acorn (cap) nuts for Unified inch threads #2-56 to 1/2-20. Presets cover the catalogue's inch nylon-insert, all-metal, flange and acorn nuts.
Envelope for assemblies at the tables' maximum sizes. Axis along +Z, sitting on the XY plane, centred on the origin; a hexagon's corners point along X. The thread is a plain bore at the ASME B1.1 basic major diameter D (not modelled); corner chamfers are not modelled. The model is in millimetres (1 in = 25.4 mm).
| Parameter | Meaning |
|---|---|
size |
Thread, #2-56 to 1/2-20 (UNC and UNF) |
style |
nylon (#2 and up), all-metal (#4 and up), flange (#6 and up), acorn (#6 and up) |
material |
steel (zinc plated), stainless-18-8 (304) |
Values in inches, as printed. Copies consulted: globalfastener.com's reproductions of the ASME tables (dimension facts), cross-checked as noted.
| Size | D | Nylon s × h | All-metal s × h | Flange s / dc / m / c | Acorn F / Q / A / H / S / T |
|---|---|---|---|---|---|
| #2 | .086 | .251 × .153 (NM) | – | – | – |
| #4 | .112 | .251 × .153 (NM) | .251 × .163 | – | – |
| #6 | .138 | .313 × .188 (NM) | .313 × .171 | .312 / .422 / .171 / .02 | .3125 / .16 / .30 / .34 / .17 / .25 |
| #8 | .164 | .345 × .239 (NM) | .345 × .191 | .344 / .469 / .203 / .02 | .3125 / .16 / .30 / .34 / .17 / .25 |
| #10 | .190 | .376 × .249 (NM) | .376 × .241 | .375 / .500 / .219 / .03 | .375 / .19 / .36 / .41 / .22 / .28 |
| 1/4 | .250 | .439 × .328 (NE) | .4385 × .288 | .438 / .594 / .236 / .04 | .4375 / .22 / .41 / .47 / .25 / .34 |
| 5/16 | .3125 | .502 × .359 (NE) | .5020 × .336 | .500 / .680 / .283 / .04 | .500 / .25 / .47 / .53 / .28 / .41 |
| 3/8 | .375 | .564 × .468 (NE) | .5645 × .415 | .562 / .750 / .347 / .04 | .5625 / .28 / .53 / .62 / .33 / .45 |
| 1/2 | .500 | .752 × .609 (NE) | .7520 × .573 | .750 / 1.031 / .458 / .05 | .750 / .38 / .72 / .81 / .42 / .59 |
D: ASME B1.1 basic major diameter. Not covered (no source has them): #0 in every style; #2 all-metal, flange and acorn; #4 flange and acorn (an 18-8 #4-40 acorn nut is sold, but no source gives its crown).
Preset list: sizes of the step.parts catalogue (MIT), see library/NOTICE.md.
| 1 | # Inch specialty nuts (ASME B18.16.6 / B18.2.2 / SAE J483) |
| 2 | |
| 3 | Nylon-insert and all-metal lock nuts, hex flange nuts and acorn (cap) nuts for Unified inch threads #2-56 to 1/2-20. |
| 4 | Presets cover the catalogue's inch nylon-insert, all-metal, flange and acorn nuts. |
| 5 | |
| 6 | ## Geometry |
| 7 | |
| 8 | Envelope for assemblies at the tables' maximum sizes. Axis along +Z, sitting on the XY plane, centred on the origin; |
| 9 | a hexagon's corners point along X. The thread is a plain bore at the ASME B1.1 basic major diameter D (not |
| 10 | modelled); corner chamfers are not modelled. The model is in millimetres (1 in = 25.4 mm). |
| 11 | |
| 12 | - **nylon**, **all-metal**: a hex prism, width across flats **s** (max), overall height **h** (max). The nylon |
| 13 | insert's collar and the all-metal nut's locking deformation lie within that envelope and are not modelled. |
| 14 | - **flange**: a flange disc **dc** (max) × **c** (min, the flange's edge thickness) under a hex prism **s** (max) |
| 15 | up to the overall thickness **m** (max). The flange's taper from its edge up to the hex is not modelled. |
| 16 | - **acorn**: a hex prism **F** (max) × **Q** (hex height); above it the crown, a body of diameter **A** up to the |
| 17 | overall height **H** whose top is rounded with the body radius **S** (a sphere of radius S whose top is at H; |
| 18 | the nose radius R is not modelled); a blind bore **T** (max drill depth) deep. |
| 19 | |
| 20 | ## Parameters |
| 21 | |
| 22 | | Parameter | Meaning | |
| 23 | |---|---| |
| 24 | | `size` | Thread, #2-56 to 1/2-20 (UNC and UNF) | |
| 25 | | `style` | `nylon` (#2 and up), `all-metal` (#4 and up), `flange` (#6 and up), `acorn` (#6 and up) | |
| 26 | | `material` | `steel` (zinc plated), `stainless-18-8` (304) | |
| 27 | |
| 28 | ## Sources |
| 29 | |
| 30 | Values in inches, as printed. Copies consulted: globalfastener.com's reproductions of the ASME tables (dimension |
| 31 | facts), cross-checked as noted. |
| 32 | |
| 33 | - **Nylon-insert lock nuts**: ASME B18.16.6-2017, style **NM** (machine-screw sizes, standard height; |
| 34 | https://www.globalfastener.com/standards/detail_4855.html) and style **NE** (standard height; |
| 35 | https://www.globalfastener.com/standards/detail_4859.html). Cross-checks: Conquest Fasteners "NE Nylon Insert |
| 36 | Locknuts" specification p. 1 (https://www.fastenersplus.com/cdn/shop/files/CQ-NE-Locknuts-Spec.pdf) agrees on NE h |
| 37 | and m; Albany County Fasteners "US Nylon Inserted Hex Lock Nut Size Chart" (2023) agrees on NM s max and h max. |
| 38 | Disagreement (not used by the model): NE s min 5/16 .489, 3/8 .551, 1/2 .736 on the NE page against .492, .553, |
| 39 | .741 in Conquest's sheet. |
| 40 | - **All-metal lock nuts**: ASME B18.16.6-2017, "Prevailing Torque All-Metal Type Hex Nuts" |
| 41 | (https://www.globalfastener.com/standards/detail_4852.html). |
| 42 | - **Hex flange nuts**: ASME B18.2.2-2015 **Table 12** "Hex Flange Nuts" |
| 43 | (https://www.globalfastener.com/standards/detail_4555.html). |
| 44 | - **Acorn nuts**: SAE J483a, low crown, as reproduced by AmesWeb "Acorn Nut Dimensions (Inch Series)", which cites |
| 45 | SAE J483a via Machinery's Handbook, 30th edition |
| 46 | (https://amesweb.info/Fasteners/NutsInchSeries/AcornHighLowCrownNutDimensions.aspx). Cross-check: Kent Automotive |
| 47 | grade 2 acorn nuts (https://www.kent-automotive.com/collections/acorn-nuts-wf4510/products.json) agree on the |
| 48 | overall height H and the thread depth for #6 to 1/2. |
| 49 | |
| 50 | | Size | D | Nylon s × h | All-metal s × h | Flange s / dc / m / c | Acorn F / Q / A / H / S / T | |
| 51 | |---|---|---|---|---|---| |
| 52 | | #2 | .086 | .251 × .153 (NM) | – | – | – | |
| 53 | | #4 | .112 | .251 × .153 (NM) | .251 × .163 | – | – | |
| 54 | | #6 | .138 | .313 × .188 (NM) | .313 × .171 | .312 / .422 / .171 / .02 | .3125 / .16 / .30 / .34 / .17 / .25 | |
| 55 | | #8 | .164 | .345 × .239 (NM) | .345 × .191 | .344 / .469 / .203 / .02 | .3125 / .16 / .30 / .34 / .17 / .25 | |
| 56 | | #10 | .190 | .376 × .249 (NM) | .376 × .241 | .375 / .500 / .219 / .03 | .375 / .19 / .36 / .41 / .22 / .28 | |
| 57 | | 1/4 | .250 | .439 × .328 (NE) | .4385 × .288 | .438 / .594 / .236 / .04 | .4375 / .22 / .41 / .47 / .25 / .34 | |
| 58 | | 5/16 | .3125 | .502 × .359 (NE) | .5020 × .336 | .500 / .680 / .283 / .04 | .500 / .25 / .47 / .53 / .28 / .41 | |
| 59 | | 3/8 | .375 | .564 × .468 (NE) | .5645 × .415 | .562 / .750 / .347 / .04 | .5625 / .28 / .53 / .62 / .33 / .45 | |
| 60 | | 1/2 | .500 | .752 × .609 (NE) | .7520 × .573 | .750 / 1.031 / .458 / .05 | .750 / .38 / .72 / .81 / .42 / .59 | |
| 61 | |
| 62 | D: ASME B1.1 basic major diameter. Not covered (no source has them): #0 in every style; #2 all-metal, flange and |
| 63 | acorn; #4 flange and acorn (an 18-8 #4-40 acorn nut is sold, but no source gives its crown). |
| 64 | |
| 65 | Preset list: sizes of the step.parts catalogue (MIT), see `library/NOTICE.md`. |
| 66 |
Specialty nuts for Unified inch threads #2-56 to 1/2-20: nylon-insert lock nuts (ASME B18.16.6 styles NM and NE, standard height), prevailing-torque all-metal hex lock nuts (ASME B18.16.6), hex flange nuts (ASME B18.2.2 Table 12) and low-crown acorn (cap) nuts (SAE J483). Envelope geometry for assemblies at the tables' maximum sizes; the thread is a plain bore at the ASME B1.1 basic major diameter. It sits on the XY plane, centred on the origin, axis along +Z (the model is in millimetres). Dimensions: see the README.
Nylon-insert and all-metal lock nuts, hex flange nuts and acorn (cap) nuts for Unified inch threads #2-56 to 1/2-20. Presets cover the catalogue's inch nylon-insert, all-metal, flange and acorn nuts.
Envelope for assemblies at the tables' maximum sizes. Axis along +Z, sitting on the XY plane, centred on the origin; a hexagon's corners point along X. The thread is a plain bore at the ASME B1.1 basic major diameter D (not modelled); corner chamfers are not modelled. The model is in millimetres (1 in = 25.4 mm).
| Parameter | Meaning |
|---|---|
size |
Thread, #2-56 to 1/2-20 (UNC and UNF) |
style |
nylon (#2 and up), all-metal (#4 and up), flange (#6 and up), acorn (#6 and up) |
material |
steel (zinc plated), stainless-18-8 (304) |
Values in inches, as printed. Copies consulted: globalfastener.com's reproductions of the ASME tables (dimension facts), cross-checked as noted.
| Size | D | Nylon s × h | All-metal s × h | Flange s / dc / m / c | Acorn F / Q / A / H / S / T |
|---|---|---|---|---|---|
| #2 | .086 | .251 × .153 (NM) | – | – | – |
| #4 | .112 | .251 × .153 (NM) | .251 × .163 | – | – |
| #6 | .138 | .313 × .188 (NM) | .313 × .171 | .312 / .422 / .171 / .02 | .3125 / .16 / .30 / .34 / .17 / .25 |
| #8 | .164 | .345 × .239 (NM) | .345 × .191 | .344 / .469 / .203 / .02 | .3125 / .16 / .30 / .34 / .17 / .25 |
| #10 | .190 | .376 × .249 (NM) | .376 × .241 | .375 / .500 / .219 / .03 | .375 / .19 / .36 / .41 / .22 / .28 |
| 1/4 | .250 | .439 × .328 (NE) | .4385 × .288 | .438 / .594 / .236 / .04 | .4375 / .22 / .41 / .47 / .25 / .34 |
| 5/16 | .3125 | .502 × .359 (NE) | .5020 × .336 | .500 / .680 / .283 / .04 | .500 / .25 / .47 / .53 / .28 / .41 |
| 3/8 | .375 | .564 × .468 (NE) | .5645 × .415 | .562 / .750 / .347 / .04 | .5625 / .28 / .53 / .62 / .33 / .45 |
| 1/2 | .500 | .752 × .609 (NE) | .7520 × .573 | .750 / 1.031 / .458 / .05 | .750 / .38 / .72 / .81 / .42 / .59 |
D: ASME B1.1 basic major diameter. Not covered (no source has them): #0 in every style; #2 all-metal, flange and acorn; #4 flange and acorn (an 18-8 #4-40 acorn nut is sold, but no source gives its crown).
Preset list: sizes of the step.parts catalogue (MIT), see library/NOTICE.md.
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.
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.