name = "steve/inch-socket-head-cap-screw" version = "1.0.0" runtime = "steve" license = "MIT" summary = "Socket head cap screw, inch, ASME B18.3, #0 to 1/2 in, UNC/UNF, any length, with catalogue sizes as presets." description = """ASME B18.3 hexagon socket head cap screw (1960 series), Unified inch threads #0-80 to 1/2-20. Envelope \ geometry for assemblies: head (A max, H max), hexagon socket (J, T min) and a plain shank at the ASME B1.1 basic major \ diameter; the thread itself is not modelled. The head's bearing face is on the XY plane at the origin and the shank points along -Z; `length` is the nominal \ length under the head, in inches (the model itself is in millimetres). Dimensions from ASME B18.3 Table 1 (see the README).""" tags = ["fastener", "screw", "socket-head", "asme-b18-3", "inch", "unc", "unf"] [parameters.size] type = "choice" default = "#4-40" 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"] label = "Thread" [parameters.length] type = "number" default = 0.5 min = 0.0625 max = 12 step = 0.0625 unit = "in" label = "Length" description = "Nominal length L in inches, from under the head to the end of the shank." [parameters.material] type = "choice" default = "steel" choices = ["steel", "stainless-18-8", "stainless-316"] label = "Material" description = "steel: alloy steel, black oxide; stainless-18-8 (304) or stainless-316."