name = "steve/miniature-linear-guide" version = "1.0.0" runtime = "steve" license = "MIT" summary = "HIWIN MGN miniature linear guideway, sizes 7, 9, 12 and 15: rail (MGNR) or block (MGN-C / MGN-H)." description = """HIWIN MG series miniature linear guideway (MGN, standard width): the rail MGNR with its counterbored \ mounting holes, or a carriage block MGN-C (standard length) or MGN-H (long). Envelope geometry for assemblies, from \ the dimension table of HIWIN's catalogue (Linear Guideway Technical Information, FORM G99TE24-2410, section 2-4, MG \ series): the ball tracks, seals and grease nipple are not modelled. The rail lies along X on the XY plane, centred on the origin. A block is drawn where it sits on a rail whose base is the \ XY plane: its underside at H1, its top at H, centred on the origin, with the rail's channel through it (the channel is \ modelled as the rail's own width and height). Dimensions: see the README.""" tags = ["linear-guide", "linear-rail", "carriage", "mgn", "hiwin", "motion", "bearing", "metric"] [parameters.size] type = "choice" default = "MGN12" choices = ["MGN7", "MGN9", "MGN12", "MGN15"] label = "Size" [parameters.component] type = "choice" default = "rail" choices = ["rail", "block-C", "block-H"] label = "Component" description = "rail (MGNR), block-C (standard block MGN-C) or block-H (long block MGN-H)." [parameters.rail_length] type = "number" default = 70 min = 20 max = 2000 unit = "mm" label = "Rail length" description = "Rail only. Holes from E at one end at pitch P; standard lengths are (n - 1) P + 2 E." [[presets]] id = "MGNR7-40" title = "MGNR7 rail, 40 mm" params = { size = "MGN7", component = "rail", rail_length = 40 } aliases = ["MGN7 rail", "MGNR7", "HIWIN MGNR7R40", "MGN7 linear rail"] standard = "HIWIN MGN" [[presets]] id = "MGN7C" title = "MGN7C block (standard)" params = { size = "MGN7", component = "block-C" } aliases = ["HIWIN MGN7C", "MGN7C carriage", "MGN7C linear block", "MGN7 block C"] standard = "HIWIN MGN" [[presets]] id = "MGN7H" title = "MGN7H block (long)" params = { size = "MGN7", component = "block-H" } aliases = ["HIWIN MGN7H", "MGN7H carriage", "MGN7H linear block", "MGN7 block H"] standard = "HIWIN MGN" [[presets]] id = "MGNR9-55" title = "MGNR9 rail, 55 mm" params = { size = "MGN9", component = "rail", rail_length = 55 } aliases = ["MGN9 rail", "MGNR9", "HIWIN MGNR9R55", "MGN9 linear rail"] standard = "HIWIN MGN" [[presets]] id = "MGN9C" title = "MGN9C block (standard)" params = { size = "MGN9", component = "block-C" } aliases = ["HIWIN MGN9C", "MGN9C carriage", "MGN9C linear block", "MGN9 block C"] standard = "HIWIN MGN" [[presets]] id = "MGN9H" title = "MGN9H block (long)" params = { size = "MGN9", component = "block-H" } aliases = ["HIWIN MGN9H", "MGN9H carriage", "MGN9H linear block", "MGN9 block H"] standard = "HIWIN MGN" [[presets]] id = "MGNR12-70" title = "MGNR12 rail, 70 mm" params = { size = "MGN12", component = "rail", rail_length = 70 } aliases = ["MGN12 rail", "MGNR12", "HIWIN MGNR12R70", "MGN12 linear rail"] standard = "HIWIN MGN" [[presets]] id = "MGN12C" title = "MGN12C block (standard)" params = { size = "MGN12", component = "block-C" } aliases = ["HIWIN MGN12C", "MGN12C carriage", "MGN12C linear block", "MGN12 block C"] standard = "HIWIN MGN" [[presets]] id = "MGN12H" title = "MGN12H block (long)" params = { size = "MGN12", component = "block-H" } aliases = ["HIWIN MGN12H", "MGN12H carriage", "MGN12H linear block", "MGN12 block H"] standard = "HIWIN MGN"