name = "steve/socket-head-cap-screw" version = "2.0.0" runtime = "steve" license = "MIT" summary = "Socket head cap screw, ISO 4762 / DIN 912, M1.6 to M64, any length, with catalogue sizes as presets." description = """ISO 4762 (DIN 912) hexagon socket head cap screw. Envelope geometry for assemblies: head (dk max, k max), \ hexagon socket (s, t min) and a plain shank at the nominal thread 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. Dimensions from ISO 4762:2004 Table 1 (see the README).""" tags = ["fastener", "screw", "socket-head", "iso-4762", "din-912", "metric"] [parameters.size] type = "choice" default = "M3" choices = ["M1.6", "M2", "M2.5", "M3", "M4", "M5", "M6", "M8", "M10", "M12", "M14", "M16", "M20", "M24", "M30", "M36", "M42", "M48", "M56", "M64"] label = "Thread size" [parameters.length] type = "number" default = 10 min = 2 max = 400 step = 1 unit = "mm" label = "Length" description = "Nominal length l, from under the head to the end of the shank." [parameters.material] type = "choice" default = "steel" choices = ["steel", "stainless-a2", "stainless-a4"] label = "Material" description = "steel: property class 8.8 to 12.9, black oxide; stainless-a2 / stainless-a4: ISO 3506-1 A2 / A4."