name = "steve/parallel-key" version = "1.0.0" runtime = "steve" license = "MIT" summary = "Parallel key, DIN 6885-1 form A, 2 x 2 to 12 x 8, any length, with the common sizes as presets." description = """Parallel key form A (rounded ends) to DIN 6885-1, for a keyed shaft and hub: width b, height h and overall \ length. Length along X, base on the XY plane. See the README for the source.""" tags = ["key", "shaft", "din-6885", "power-transmission", "metric"] [parameters.size] type = "choice" default = "5x5" choices = ["2x2", "3x3", "4x4", "5x5", "6x6", "8x7", "10x8", "12x8"] label = "Width × height" [parameters.length] type = "number" default = 20 min = 3 max = 200 unit = "mm" label = "Length"