name = "steve/cotter-pin" version = "1.0.0" runtime = "steve" license = "MIT" summary = "Cotter pin (split pin), nominal 1 to 5 mm, any length: simplified envelope measured from step.parts' models." description = """A simplified cotter pin (split pin) for assemblies, nominal sizes 1, 1.6, 2, 2.5, 3.2, 4 and 5 mm (the \ ISO 1234 sizes), any length: two round legs of the nominal diameter side by side and a round cross bar for the eye. \ Measured from step.parts' published models (MIT); ISO 1234 does not dimension the eye, so no drawing exists. Not the \ real wire shape: see the README. The legs run along +Z from z = 0 to the length, the eye bar along X centred on the origin.""" tags = ["cotter-pin", "split-pin", "pin", "iso-1234", "fastener", "metric"] [parameters.size] type = "choice" default = "2" choices = ["1", "1.6", "2", "2.5", "3.2", "4", "5"] label = "Nominal size d" description = "Nominal size (the hole diameter), mm." [parameters.length] type = "number" default = 32 min = 4 max = 250 unit = "mm" label = "Length l" [parameters.material] type = "choice" default = "steel" choices = ["steel", "stainless"] label = "Material" [[presets]] id = "CP1x20" title = "Cotter pin 1 × 20 (simplified)" params = { size = "1", length = 20 } aliases = ["split pin 1 x 20", "ISO 1234 1 x 20", "cotter pin 1x20", "DIN 94 1 x 20"] standard = "step.parts simplified model" [[presets]] id = "CP1.6x25" title = "Cotter pin 1.6 × 25 (simplified)" params = { size = "1.6", length = 25 } aliases = ["split pin 1.6 x 25", "ISO 1234 1.6 x 25", "cotter pin 1.6x25", "DIN 94 1.6 x 25"] standard = "step.parts simplified model" [[presets]] id = "CP2x32" title = "Cotter pin 2 × 32 (simplified)" params = { size = "2", length = 32 } aliases = ["split pin 2 x 32", "ISO 1234 2 x 32", "cotter pin 2x32", "DIN 94 2 x 32"] standard = "step.parts simplified model" [[presets]] id = "CP2.5x40" title = "Cotter pin 2.5 × 40 (simplified)" params = { size = "2.5", length = 40 } aliases = ["split pin 2.5 x 40", "ISO 1234 2.5 x 40", "cotter pin 2.5x40", "DIN 94 2.5 x 40"] standard = "step.parts simplified model" [[presets]] id = "CP3.2x50" title = "Cotter pin 3.2 × 50 (simplified)" params = { size = "3.2", length = 50 } aliases = ["split pin 3.2 x 50", "ISO 1234 3.2 x 50", "cotter pin 3.2x50", "DIN 94 3.2 x 50"] standard = "step.parts simplified model" [[presets]] id = "CP4x63" title = "Cotter pin 4 × 63 (simplified)" params = { size = "4", length = 63 } aliases = ["split pin 4 x 63", "ISO 1234 4 x 63", "cotter pin 4x63", "DIN 94 4 x 63"] standard = "step.parts simplified model" [[presets]] id = "CP5x80" title = "Cotter pin 5 × 80 (simplified)" params = { size = "5", length = 80 } aliases = ["split pin 5 x 80", "ISO 1234 5 x 80", "cotter pin 5x80", "DIN 94 5 x 80"] standard = "step.parts simplified model"