name = "steve/nut-trap" version = "1.0.0" runtime = "steve" license = "MIT" summary = "Hex nut trap: a hexagonal prism to cut a pocket for a metric hexagon nut, M1.6 to M12, DIN 934 or ISO 4032 nut sizes." description = """A hexagonal prism to cut a nut pocket with: the nut's largest width across flats and height from DIN 934 or ISO 4032, with a gap of your choice on each flat and a depth of your choice. See the README.""" tags = ["nut-trap", "nut-pocket", "captive-nut", "hex-nut", "din-934", "iso-4032", "fastener", "cad-helper", "metric"] [parameters.thread] type = "choice" default = "M3" choices = ["M1.6", "M2", "M2.5", "M3", "M3.5", "M4", "M5", "M6", "M8", "M10", "M12"] label = "Thread" [parameters.nut] type = "choice" default = "DIN 934" choices = ["DIN 934", "ISO 4032"] label = "Nut standard" description = "The two differ in height at M5, M6, M8, M10 and M12, and in width across flats at M10 and M12." [parameters.clearance] type = "number" default = 0 min = 0 max = 2 unit = "mm" label = "Gap on each flat" description = "Added on every flat, so the pocket is twice this wider across flats than the nut's largest size. 0 cuts the nut's own largest size." [parameters.depth] type = "number" default = 0 min = 0 max = 1000 unit = "mm" label = "Depth" description = "0 uses the nut's largest height." [[presets]] id = "M2-DIN934" title = "M2 hex nut trap, DIN 934 nut: 4 across flats, 1.6 deep" params = { thread = "M2", nut = "DIN 934" } aliases = ["M2 nut trap", "M2 hex nut trap", "M2 nut pocket", "M2 captive nut pocket", "M2 hex nut trap cutter", "DIN 934 M2 nut trap", "M2 nut trap 4 mm"] standard = "DIN 934" [[presets]] id = "M2.5-DIN934" title = "M2.5 hex nut trap, DIN 934 nut: 5 across flats, 2 deep" params = { thread = "M2.5", nut = "DIN 934" } aliases = ["M2.5 nut trap", "M2.5 hex nut trap", "M2.5 nut pocket", "M2.5 captive nut pocket", "M2.5 hex nut trap cutter", "DIN 934 M2.5 nut trap", "M2.5 nut trap 5 mm"] standard = "DIN 934" [[presets]] id = "M3-DIN934" title = "M3 hex nut trap, DIN 934 nut: 5.5 across flats, 2.4 deep" params = { thread = "M3", nut = "DIN 934" } aliases = ["M3 nut trap", "M3 hex nut trap", "M3 nut pocket", "M3 captive nut pocket", "M3 hex nut trap cutter", "DIN 934 M3 nut trap", "M3 nut trap 5.5 mm"] standard = "DIN 934" [[presets]] id = "M4-DIN934" title = "M4 hex nut trap, DIN 934 nut: 7 across flats, 3.2 deep" params = { thread = "M4", nut = "DIN 934" } aliases = ["M4 nut trap", "M4 hex nut trap", "M4 nut pocket", "M4 captive nut pocket", "M4 hex nut trap cutter", "DIN 934 M4 nut trap", "M4 nut trap 7 mm"] standard = "DIN 934" [[presets]] id = "M5-DIN934" title = "M5 hex nut trap, DIN 934 nut: 8 across flats, 4 deep" params = { thread = "M5", nut = "DIN 934" } aliases = ["M5 nut trap", "M5 hex nut trap", "M5 nut pocket", "M5 captive nut pocket", "M5 hex nut trap cutter", "DIN 934 M5 nut trap", "M5 nut trap 8 mm"] standard = "DIN 934" [[presets]] id = "M6-DIN934" title = "M6 hex nut trap, DIN 934 nut: 10 across flats, 5 deep" params = { thread = "M6", nut = "DIN 934" } aliases = ["M6 nut trap", "M6 hex nut trap", "M6 nut pocket", "M6 captive nut pocket", "M6 hex nut trap cutter", "DIN 934 M6 nut trap", "M6 nut trap 10 mm"] standard = "DIN 934" [[presets]] id = "M8-DIN934" title = "M8 hex nut trap, DIN 934 nut: 13 across flats, 6.5 deep" params = { thread = "M8", nut = "DIN 934" } aliases = ["M8 nut trap", "M8 hex nut trap", "M8 nut pocket", "M8 captive nut pocket", "M8 hex nut trap cutter", "DIN 934 M8 nut trap", "M8 nut trap 13 mm"] standard = "DIN 934" [[presets]] id = "M1.6-DIN934" title = "M1.6 hex nut trap, DIN 934 nut: 3.2 across flats, 1.3 deep" params = { thread = "M1.6", nut = "DIN 934" } aliases = ["M1.6 nut trap", "M1.6 hex nut trap", "M1.6 nut pocket", "M1.6 captive nut pocket", "M1.6 hex nut trap cutter", "DIN 934 M1.6 nut trap", "M1.6 nut trap 3.2 mm"] standard = "DIN 934" [[presets]] id = "M3.5-DIN934" title = "M3.5 hex nut trap, DIN 934 nut: 6 across flats, 2.8 deep" params = { thread = "M3.5", nut = "DIN 934" } aliases = ["M3.5 nut trap", "M3.5 hex nut trap", "M3.5 nut pocket", "M3.5 captive nut pocket", "M3.5 hex nut trap cutter", "DIN 934 M3.5 nut trap", "M3.5 nut trap 6 mm"] standard = "DIN 934" [[presets]] id = "M10-DIN934" title = "M10 hex nut trap, DIN 934 nut: 17 across flats, 8 deep" params = { thread = "M10", nut = "DIN 934" } aliases = ["M10 nut trap", "M10 hex nut trap", "M10 nut pocket", "M10 captive nut pocket", "M10 hex nut trap cutter", "DIN 934 M10 nut trap", "M10 nut trap 17 mm"] standard = "DIN 934" [[presets]] id = "M12-DIN934" title = "M12 hex nut trap, DIN 934 nut: 19 across flats, 10 deep" params = { thread = "M12", nut = "DIN 934" } aliases = ["M12 nut trap", "M12 hex nut trap", "M12 nut pocket", "M12 captive nut pocket", "M12 hex nut trap cutter", "DIN 934 M12 nut trap", "M12 nut trap 19 mm"] standard = "DIN 934" [[presets]] id = "M1.6-ISO4032" title = "M1.6 hex nut trap, ISO 4032 nut: 3.2 across flats, 1.3 deep" params = { thread = "M1.6", nut = "ISO 4032" } aliases = ["M1.6 nut trap", "M1.6 hex nut trap", "M1.6 nut pocket", "M1.6 captive nut pocket", "M1.6 hex nut trap cutter", "ISO 4032 M1.6 nut trap", "M1.6 nut trap 3.2 mm"] standard = "ISO 4032" [[presets]] id = "M2-ISO4032" title = "M2 hex nut trap, ISO 4032 nut: 4 across flats, 1.6 deep" params = { thread = "M2", nut = "ISO 4032" } aliases = ["M2 nut trap", "M2 hex nut trap", "M2 nut pocket", "M2 captive nut pocket", "M2 hex nut trap cutter", "ISO 4032 M2 nut trap", "M2 nut trap 4 mm"] standard = "ISO 4032" [[presets]] id = "M2.5-ISO4032" title = "M2.5 hex nut trap, ISO 4032 nut: 5 across flats, 2 deep" params = { thread = "M2.5", nut = "ISO 4032" } aliases = ["M2.5 nut trap", "M2.5 hex nut trap", "M2.5 nut pocket", "M2.5 captive nut pocket", "M2.5 hex nut trap cutter", "ISO 4032 M2.5 nut trap", "M2.5 nut trap 5 mm"] standard = "ISO 4032" [[presets]] id = "M3-ISO4032" title = "M3 hex nut trap, ISO 4032 nut: 5.5 across flats, 2.4 deep" params = { thread = "M3", nut = "ISO 4032" } aliases = ["M3 nut trap", "M3 hex nut trap", "M3 nut pocket", "M3 captive nut pocket", "M3 hex nut trap cutter", "ISO 4032 M3 nut trap", "M3 nut trap 5.5 mm"] standard = "ISO 4032" [[presets]] id = "M3.5-ISO4032" title = "M3.5 hex nut trap, ISO 4032 nut: 6 across flats, 2.8 deep" params = { thread = "M3.5", nut = "ISO 4032" } aliases = ["M3.5 nut trap", "M3.5 hex nut trap", "M3.5 nut pocket", "M3.5 captive nut pocket", "M3.5 hex nut trap cutter", "ISO 4032 M3.5 nut trap", "M3.5 nut trap 6 mm"] standard = "ISO 4032" [[presets]] id = "M4-ISO4032" title = "M4 hex nut trap, ISO 4032 nut: 7 across flats, 3.2 deep" params = { thread = "M4", nut = "ISO 4032" } aliases = ["M4 nut trap", "M4 hex nut trap", "M4 nut pocket", "M4 captive nut pocket", "M4 hex nut trap cutter", "ISO 4032 M4 nut trap", "M4 nut trap 7 mm"] standard = "ISO 4032" [[presets]] id = "M5-ISO4032" title = "M5 hex nut trap, ISO 4032 nut: 8 across flats, 4.7 deep" params = { thread = "M5", nut = "ISO 4032" } aliases = ["M5 nut trap", "M5 hex nut trap", "M5 nut pocket", "M5 captive nut pocket", "M5 hex nut trap cutter", "ISO 4032 M5 nut trap", "M5 nut trap 8 mm"] standard = "ISO 4032" [[presets]] id = "M6-ISO4032" title = "M6 hex nut trap, ISO 4032 nut: 10 across flats, 5.2 deep" params = { thread = "M6", nut = "ISO 4032" } aliases = ["M6 nut trap", "M6 hex nut trap", "M6 nut pocket", "M6 captive nut pocket", "M6 hex nut trap cutter", "ISO 4032 M6 nut trap", "M6 nut trap 10 mm"] standard = "ISO 4032" [[presets]] id = "M8-ISO4032" title = "M8 hex nut trap, ISO 4032 nut: 13 across flats, 6.8 deep" params = { thread = "M8", nut = "ISO 4032" } aliases = ["M8 nut trap", "M8 hex nut trap", "M8 nut pocket", "M8 captive nut pocket", "M8 hex nut trap cutter", "ISO 4032 M8 nut trap", "M8 nut trap 13 mm"] standard = "ISO 4032" [[presets]] id = "M10-ISO4032" title = "M10 hex nut trap, ISO 4032 nut: 16 across flats, 8.4 deep" params = { thread = "M10", nut = "ISO 4032" } aliases = ["M10 nut trap", "M10 hex nut trap", "M10 nut pocket", "M10 captive nut pocket", "M10 hex nut trap cutter", "ISO 4032 M10 nut trap", "M10 nut trap 16 mm"] standard = "ISO 4032" [[presets]] id = "M12-ISO4032" title = "M12 hex nut trap, ISO 4032 nut: 18 across flats, 10.8 deep" params = { thread = "M12", nut = "ISO 4032" } aliases = ["M12 nut trap", "M12 hex nut trap", "M12 nut pocket", "M12 captive nut pocket", "M12 hex nut trap cutter", "ISO 4032 M12 nut trap", "M12 nut trap 18 mm"] standard = "ISO 4032"